-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/zeta-chain/node into zet…
…aclient-evm-index-by-nonce
- Loading branch information
Showing
63 changed files
with
2,368 additions
and
1,549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,51 @@ | ||
package app | ||
|
||
import ( | ||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" | ||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" | ||
"github.com/cosmos/cosmos-sdk/x/authz" | ||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" | ||
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" | ||
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" | ||
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" | ||
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" | ||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" | ||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" | ||
evmenc "github.com/zeta-chain/ethermint/encoding" | ||
ethermint "github.com/zeta-chain/ethermint/types" | ||
evmtypes "github.com/zeta-chain/ethermint/x/evm/types" | ||
|
||
authoritytypes "github.com/zeta-chain/node/x/authority/types" | ||
crosschaintypes "github.com/zeta-chain/node/x/crosschain/types" | ||
emissionstypes "github.com/zeta-chain/node/x/emissions/types" | ||
fungibletypes "github.com/zeta-chain/node/x/fungible/types" | ||
lightclienttypes "github.com/zeta-chain/node/x/lightclient/types" | ||
observertypes "github.com/zeta-chain/node/x/observer/types" | ||
) | ||
|
||
// MakeEncodingConfig creates an EncodingConfig for testing | ||
func MakeEncodingConfig() ethermint.EncodingConfig { | ||
//encodingConfig := params.MakeEncodingConfig() | ||
encodingConfig := evmenc.MakeConfig(ModuleBasics) | ||
//std.RegisterLegacyAminoCodec(encodingConfig.Amino) | ||
//std.RegisterInterfaces(encodingConfig.InterfaceRegistry) | ||
//ModuleBasics.RegisterLegacyAminoCodec(encodingConfig.Amino) | ||
//ModuleBasics.RegisterInterfaces(encodingConfig.InterfaceRegistry) | ||
registry := encodingConfig.InterfaceRegistry | ||
|
||
cryptocodec.RegisterInterfaces(registry) | ||
authtypes.RegisterInterfaces(registry) | ||
authz.RegisterInterfaces(registry) | ||
banktypes.RegisterInterfaces(registry) | ||
stakingtypes.RegisterInterfaces(registry) | ||
slashingtypes.RegisterInterfaces(registry) | ||
upgradetypes.RegisterInterfaces(registry) | ||
distrtypes.RegisterInterfaces(registry) | ||
evidencetypes.RegisterInterfaces(registry) | ||
crisistypes.RegisterInterfaces(registry) | ||
evmtypes.RegisterInterfaces(registry) | ||
ethermint.RegisterInterfaces(registry) | ||
authoritytypes.RegisterInterfaces(registry) | ||
crosschaintypes.RegisterInterfaces(registry) | ||
emissionstypes.RegisterInterfaces(registry) | ||
fungibletypes.RegisterInterfaces(registry) | ||
observertypes.RegisterInterfaces(registry) | ||
lightclienttypes.RegisterInterfaces(registry) | ||
|
||
return encodingConfig | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
# V20 Breaking Changes | ||
|
||
### Emissions factors deprecated | ||
|
||
* `EmissionsFactors` have been deprecated and removed from the `emissions` module. | ||
- This results in the removal of the query `/zeta-chain/emissions/get_emissions_factors`. | ||
- The fixed block reward amount can now be queried via `/zeta-chain/emissions/params`. This is constant for every block and does not depend on any factors. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.