Skip to content

Commit

Permalink
merge development into feature/chain-submit-tx
Browse files Browse the repository at this point in the history
  • Loading branch information
nkitlabs committed Oct 29, 2024
2 parents f47cc0e + c9c4d16 commit 899cd82
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions relayer/band/types/signing.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ package types
import (
"time"

tmbytes "github.com/cometbft/cometbft/libs/bytes"
cmbytes "github.com/cometbft/cometbft/libs/bytes"
)

// EVMSignature defines a signature in the EVM format.
type EVMSignature struct {
RAddress tmbytes.HexBytes
Signature tmbytes.HexBytes
RAddress cmbytes.HexBytes
Signature cmbytes.HexBytes
}

// NewEVMSignature creates a new EVMSignature instance.
func NewEVMSignature(
rAddress tmbytes.HexBytes,
signature tmbytes.HexBytes,
rAddress cmbytes.HexBytes,
signature cmbytes.HexBytes,
) *EVMSignature {
return &EVMSignature{
RAddress: rAddress,
Expand All @@ -26,7 +26,7 @@ func NewEVMSignature(
// Signing contains information of a requested message and group signature.
type Signing struct {
ID uint64
Message tmbytes.HexBytes
Message cmbytes.HexBytes
Signature []byte
EVMSignature *EVMSignature
CreatedAt time.Time
Expand All @@ -35,7 +35,7 @@ type Signing struct {
// NewSigning creates a new Signing instance.
func NewSigning(
id uint64,
message tmbytes.HexBytes,
message cmbytes.HexBytes,
evmSignature *EVMSignature,
) *Signing {
return &Signing{
Expand Down

0 comments on commit 899cd82

Please sign in to comment.