Skip to content

Commit

Permalink
wip: update tests and initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
boodyvo committed Oct 28, 2024
1 parent 67b2605 commit 4bc25e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ replace (

//github.com/cosmos/cosmos-sdk => github.com/kava-labs/cosmos-sdk v0.47.10-iavl-v1-kava.1
//github.com/cosmos/cosmos-sdk => github.com/kava-labs/cosmos-sdk v0.50.10-test-patch 5f9239e3147358ef034bfc4d19aacb34e5ea2064
github.com/cosmos/cosmos-sdk => github.com/kava-labs/cosmos-sdk v0.0.0-20241028161458-fd0c2b0c7a13
github.com/cosmos/cosmos-sdk => github.com/kava-labs/cosmos-sdk v0.0.0-20241028173841-227cd06d0ed6
//github.com/cosmos/cosmos-sdk => ../cosmos-sdk
// Use cosmos-sdk fork with staking transfer events, and custom tally handler support
//github.com/cosmos/cosmos-sdk => github.com/kava-labs/cosmos-sdk v0.47.10-iavl-v1-kava.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
github.com/kava-labs/cometbft v0.0.0-20241007151334-8345af773eb9 h1:EdyFg0j6Q8oVy3EynAEQm/M2CyMhBZrTlFjcORLjw5g=
github.com/kava-labs/cometbft v0.0.0-20241007151334-8345af773eb9/go.mod h1:GPHp3/pehPqgX1930HmK1BpBLZPxB75v/dZg8Viwy+o=
github.com/kava-labs/cosmos-sdk v0.0.0-20241028161458-fd0c2b0c7a13 h1:mdXaUBQJiS7Yazch9ymCxcv0LbgFB8YKJIS5wjwaWW0=
github.com/kava-labs/cosmos-sdk v0.0.0-20241028161458-fd0c2b0c7a13/go.mod h1:6Eesrx3ZE7vxBZWpK++30H+Uc7Q4ahQWCL7JKU/LEdU=
github.com/kava-labs/cosmos-sdk v0.0.0-20241028173841-227cd06d0ed6 h1:JaTfnm+SZ361ciHKn4egPgCmh5XepU3OG1SUltdxnhM=
github.com/kava-labs/cosmos-sdk v0.0.0-20241028173841-227cd06d0ed6/go.mod h1:6Eesrx3ZE7vxBZWpK++30H+Uc7Q4ahQWCL7JKU/LEdU=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
Expand Down
6 changes: 6 additions & 0 deletions x/evm/types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package types

import (
txsigning "cosmossdk.io/x/tx/signing"
"errors"
"fmt"
signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing"
Expand Down Expand Up @@ -55,6 +56,11 @@ const (
TypeMsgEthereumTx = "ethereum_tx"
)

var MsgEthereumTxCustomGetSigner = txsigning.CustomGetSigner{
MsgType: protov2.MessageName(&evmapi.MsgEthereumTx{}),

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / test-importer

undefined: evmapi

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / test-rpc

undefined: evmapi

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / build

undefined: evmapi

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / test-unit-cover

undefined: evmapi

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

undefined: evmapi

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

undefined: evmapi

Check failure on line 60 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

undefined: evmapi
Fn: evmapi.GetSigners,

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / test-importer

undefined: evmapi

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / test-rpc

undefined: evmapi

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / build

undefined: evmapi

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / test-unit-cover

undefined: evmapi

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

undefined: evmapi (typecheck)

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

undefined: evmapi) (typecheck)

Check failure on line 61 in x/evm/types/msg.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

undefined: evmapi) (typecheck)
}

// NewTx returns a reference to a new Ethereum transaction message.
func NewTx(
chainID *big.Int, nonce uint64, to *common.Address, amount *big.Int,
Expand Down

0 comments on commit 4bc25e1

Please sign in to comment.