forked from cerc-io/laconicd-deprecated
feat: update chain-id format (#447)
* feat: update chain-id format * c++ * docs * additional context'
This commit is contained in:
@@ -41,7 +41,7 @@ func (suite *EvmTestSuite) SetupTest() {
|
||||
checkTx := false
|
||||
|
||||
suite.app = app.Setup(checkTx)
|
||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 1, ChainID: "ethermint-1", Time: time.Now().UTC()})
|
||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 1, ChainID: "ethermint_9000-1", Time: time.Now().UTC()})
|
||||
suite.app.EvmKeeper.WithContext(suite.ctx)
|
||||
suite.handler = evm.NewHandler(suite.app.EvmKeeper)
|
||||
suite.codec = suite.app.AppCodec()
|
||||
|
||||
@@ -69,7 +69,7 @@ func (suite *KeeperTestSuite) SetupTest() {
|
||||
suite.app = app.Setup(checkTx)
|
||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
||||
Height: 1,
|
||||
ChainID: "ethermint-1",
|
||||
ChainID: "ethermint_9000-1",
|
||||
Time: time.Now().UTC(),
|
||||
ProposerAddress: suite.consAddress.Bytes(),
|
||||
})
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ func (log *Log) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ToEthereum returns the Ethereum type Log from a Ethermint-proto compatible Log.
|
||||
// ToEthereum returns the Ethereum type Log from a Ethermint proto compatible Log.
|
||||
func (log *Log) ToEthereum() *ethtypes.Log {
|
||||
var topics []ethcmn.Hash // nolint: prealloc
|
||||
for i := range log.Topics {
|
||||
|
||||
Reference in New Issue
Block a user