These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)
Commit: | afc245d | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
chore(deps): Bump packet-forward-middleware (#2064) Upgrades packet-forward-middleware Other deps upgraded as a result of pfm swagger.yaml got removed from upstream ibc-go Note: IBC test is disabled in e2e tests since it affects the upgrade test. Only upgrade test is enabled along with the other basic e2e tests, just to test state migration.
Commit: | 90af7a6 | |
---|---|---|
Author: | Vladyslav Budichenko |
wip: removed one debug log
Commit: | 9d10634 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
fix!: bump ethermint to fix EIP712 message signing (#2042) * fix!: bump ethermint to fix EIP712 message signing Previous version of ethermint used a value for the `verifyingContract` in the domain separator that was not compliant with the spec. This field and `salt`, which was unused, have been removed. This is a state breaking change because it changes which EIP712 txs are considered valid, and therefore, which txs are allowed to be included in a block. * update third party proto definitions * disable check-proto-breaking-remote
Commit: | 6c53fe8 | |
---|---|---|
Author: | Evgeniy Scherbina | |
Committer: | Robert Pirtle |
Replace opendb package from kava with generic opendb repo (#1959) * Upgrade ethermint * Remove opendb package from kava and add custom dbOpener function * Open metadata.db with custom opendb function
Commit: | c86dd84 | |
---|---|---|
Author: | Vladyslav Budichenko |
wip: test updates
Commit: | 4e68e11 | |
---|---|---|
Author: | Vladyslav Budichenko |
wip: upgrade kava to sdk v0.50
Commit: | 0c57ec6 | |
---|---|---|
Author: | Vladyslav Budichenko |
wip: upgrade kava to sdk v0.50
Commit: | 608f70b | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat: Add gRPC query for remainder and account fractional balance (#1971)
The documentation is generated from this commit.
Commit: | 3853e27 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat(x/precisebank): Add query service with TotalFractionalBalances (#1970) Add query service to precisebank, mostly for e2e test purposes in #1966 Also fix client grpc codec
Commit: | 58d7c89 | |
---|---|---|
Author: | Evgeniy Scherbina | |
Committer: | GitHub |
Replace opendb package from kava with generic opendb repo (#1959) * Upgrade ethermint * Remove opendb package from kava and add custom dbOpener function * Open metadata.db with custom opendb function
Commit: | d496c16 | |
---|---|---|
Author: | drklee3 |
Fix lint proto errs, rebuild proto docs
Commit: | 2724365 | |
---|---|---|
Author: | drklee3 |
Remove accounts from x/evmutil
Commit: | f02a053 | |
---|---|---|
Author: | evgeniy-scherbina | |
Committer: | evgeniy-scherbina |
Upgrade ethermint
Commit: | 2a8f672 | |
---|---|---|
Author: | evgeniy-scherbina | |
Committer: | evgeniy-scherbina |
Upgrade ethermint
Commit: | 025b7b2 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat(x/precisebank): Add remainder amount to genesis (#1911) - Validate total fractional amounts in genesis type - Validate against fractional balances such that `(sum(balances) + remainder) % conversionFactor == 0` - Add new utility type `SplitBalance` for splitting up full balances into each
Commit: | 00135b4 | |
---|---|---|
Author: | evgeniy-scherbina | |
Committer: | evgeniy-scherbina |
Implementation of basic precompiled contract
Commit: | 94914d4 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat(x/precisebank): Add FractionalBalance types (#1907) - Add necessary types to track account fractional balances. - Add FractionalBalance type to genesis
Commit: | 3c53e72 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat: Add x/precisebank module basic setup (#1906) - Add initial setup and empty genesis type for x/precisebank - Basic tests with mostly empty values, to be filled out with additional implementation
Commit: | 9380797 | |
---|---|---|
Author: | evgeniy-scherbina | |
Committer: | evgeniy-scherbina |
Added basic precompile module
Commit: | be5bf62 | |
---|---|---|
Author: | mergify[bot] | |
Committer: | GitHub |
fix:paramaters->paramaters (#1796) (#1872) Fix misspellings across docs & comments (cherry picked from commit 0ea92335de5910fa4fdd857f7322a11917af078f) Co-authored-by: alex <152680487+bodhi-crypo@users.noreply.github.com>
Commit: | 0ea9233 | |
---|---|---|
Author: | alex | |
Committer: | GitHub |
fix:paramaters->paramaters (#1796) Fix misspellings across docs & comments
Commit: | 1d944d5 | |
---|---|---|
Author: | Draco | |
Committer: | GitHub |
Validator Vesting gRPC Endpoints (#1832) * Add validator-vesting grpc * Update validator REST API endpoints to use grpc * Update validator-vesting cli to use grpc * Update changelog for added grpc changes * Add grpc query tests
Commit: | d46b3e0 | |
---|---|---|
Author: | rhuairahrighairigh |
add initial untested spike
Commit: | 614d4e4 | |
---|---|---|
Author: | Draco | |
Committer: | GitHub |
Update cosmos-sdk to v0.47.7 (#1811) * Update cometbft, cosmos, ethermint, and ibc-go * Replace github.com/tendermint/tendermint by github.com/cometbft/cometbft * Replace github.com/tendermint/tm-db by github.com/cometbft/cometbft-db * Replace gogo/protobuf with cosmos/gogoproto & simapp replacement * Replace cosmos-sdk/simapp/helpers with cosmos-sdk/testutil/sims * Remove no longer used simulations * Replace ibchost with ibcexported See https://github.com/cosmos/ibc-go/blob/v7.2.2/docs/migrations/v6-to-v7.md#ibc-module-constants * Add new consensus params keeper * Add consensus keeper to blockers * Fix keeper and module issues in app.go * Add IsSendEnabledCoins and update SetParams interface changes * Fix protobuf build for cosmos 47 (#1800) * fix cp errors by using -f; fix lint by only linting our proto dir; and use proofs.proto directly from ics23 for ibc-go v7 * run proto-all; commit updated third party deps and swagger changes * regenerate proto files * use correct gocosmos build plugin for buf * re-gen all protobuf files to update paths for new gocosmos plugin * update protoc and buf to latest versions * fix staking keeper issues in app.go * update tally handler for gov changes * chain id fix and flag fixes * update deps for cometbft 47.7 upgrade * remove all module legacy queriers * update stakingKeeper to pointer * Replace ModuleCdc from govv1beta1 to govcodec * remove simulations * abci.LastCommitInfo → abci.CommitInfo * Remove unused code in keys.go * simapp.MakeTestEncodingConfig -> moduletestutil.MakeTestEncodingConfi * Fix chain id issues in tests * Fix remaining unit test issues * Update changelog for upgrade * Fix e2e tests using updated kvtool * Update protonet to v47 compatible genesis * Bump cometbft-db to v0.9.1-kava.1 * Update kvtool * Remove extra changelog * Fix merged rocksdb issues * go mod cleanup * Bump cometbft-db to v9 and go to 1.21 * Bump rocksdb version to v8.10.0 * Update kvtool to latest version * Update gin to v1.9.0 * Use ibctm.ModuleName in app_test * Fallback to genesis chain id instead of client toml * Remove all simulations * Fix cdp migrations issue with v47 * Update dependencies to correct tags --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Commit: | c59a491 | |
---|---|---|
Author: | Levi Schoen | |
Committer: | GitHub |
feat(x/cdp): update begin bloocker to run liquidations every X blocks based off params (#1818) * (feat) update x/cdp to run every X blocks based off params (#1814) * add new cdp module param to protonet genesis * update cdp / cdp related tests for new module param * update telemetry docs and setup for collecting against local node * update kvool commit for new cdp param (cherry picked from commit 4d62f4777314348515bf84451587f1e25b93c6e8) * add tests for configurable x/cdp begin blocker interval param add migration for default value of param * make adjustments based off pr feedback * fix proto back compat check
Commit: | 2bccb6d | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | GitHub |
Revert "(feat) update x/cdp to run every X blocks based off params" (#1816)
Commit: | 4d62f47 | |
---|---|---|
Author: | Levi Schoen | |
Committer: | GitHub |
(feat) update x/cdp to run every X blocks based off params (#1814) * add new cdp module param to protonet genesis * update cdp / cdp related tests for new module param * update telemetry docs and setup for collecting against local node * update kvool commit for new cdp param
Commit: | a9583b1 | |
---|---|---|
Author: | mergify[bot] | |
Committer: | Robert Pirtle |
feat(community): add AnnualizedRewards grpc query (backport #1751) (#1754) * feat(community): add AnnualizedRewards grpc query (#1751) * add annualized_reward query proto * use sdkmath.LegacyDec to match RPS param... * add AnnualizedRewards grpc query * add changelog entry * simplify calculation & expand test cases (cherry picked from commit 0efe7f2281d63c37ff08cbe4edc5d9ee9493d4bf) * fix conflicts, remove community param references * backport update to lint CI * disable internal testnet genesis check * fix initialization order of keepers in app.go --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
Commit: | 0efe7f2 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat(community): add AnnualizedRewards grpc query (#1751) * add annualized_reward query proto * use sdkmath.LegacyDec to match RPS param... * add AnnualizedRewards grpc query * add changelog entry * simplify calculation & expand test cases
Commit: | 395b69a | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat(community): add MsgUpdateParams for governance (#1745) * Add authority, MsgUpdateParams * Add e2e test for x/community UpdateParamsMsg proposal * Ensure new params are different * Add errors and update codec * Update changelog * Use single reused govAuthorityAddr * Add unit tests for authority and msg * Validate authority address * Update proto comment * Check for ErrInvalidSigner in invalid authority error
Commit: | 102cc0f | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | GitHub |
Community Pool Staking Rewards Implementation & Improvements (#1742) * add new field upgrade_time_set_staking_rewards_per_second with intention of integrating into the disable inflation logic to set an initial staking reward time * when the disable inflation upgrade time occurs, set the staking rewards per second to the value specified by the new upgrade_time_set_staking_rewards_per_second. This will allow a decoupled implementation between the ugprade switching logic, and the core functionality of paying staking rewards from the pool * add staking rewards state to community keeper and community module genesis that is required to calculate and track staking reward payouts accross blocks * add implementation of staking reward payouts * remove unused error * touch up tests and add a test case that fully tests behavior when pool is drained * add function comments * refactor and pull out main calculation to private pure function with no dependence on keeper * zero out default parameters -- these are too chain specific to have useful defaults * small touch ups on comments, test cases * use correct Int from sdkmath, not old sdk types; update protonet genesis for new parmater * fix copy pasta comment * use bond denom from staking keeper instead of referncing ukava directly * add staking reward state for valid genesis * update kvtool genesis for new params and rewards state
Commit: | 57a1a4b | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | GitHub |
Community Param Updates (#1741) * refactor param validation test cases to be shared by genesis and params tests * add additional test case for zero staking rewards in order to ensure no regressions in support for turning off rewards * add test case to ensure default params are valid -- prevent regression if defaults change to an invalid state during updates of validation or defaults * zero out parameters in migration -- this module will be used with existing chains and parameters should be set after migrations in each upgrade handler * update StakingRewardsPerSecond to an 18 decimal type in order to reduce error * add community grpc rest endpoints to swagger * Fix copy pasta query name to refer to correct Community module Co-authored-by: drklee3 <derrick@dlee.dev> * generate swagger changes from previous commit --------- Co-authored-by: drklee3 <derrick@dlee.dev>
Commit: | bc260d8 | |
---|---|---|
Author: | Ruaridh | |
Committer: | GitHub |
feat(community): add switchover param (#1704) * add community params type * add get/set params methods * add community genesis state type * add community init/export genesis * add querier methods for params * add query cli cmd * update changelog * update protonet genesis * Add `RewardsPerSecond` param to `x/community` module (#1707) * Add RewardsPerSecond param to community * Update rewards per second param to int * Add rewards_per_second to protonet genesis * Use default rewards per second of 744191 * Include value if negative in Validate error * Rename RewardsPerSecond param to StakingRewardsPerSecond * Add changelog entry * Add param migration, update consensus version to 2 * Update proto docs * Update staking_rewards_per_second param name in protonet genesis (#1730) * Update godoc Co-authored-by: Robert Pirtle <Astropirtle@gmail.com> * add genesis state tests * document what 0 upgrade time means * update kvtool to include new params --------- Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
Commit: | f4b8bf8 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat(evmutil): implement MsgConvertCosmosCoinFromERC20 (#1609) * first pass at convert cosmos coin -> evm msg * test ConvertCosmosCoinFromERC20 method * test message server for MsgConvertCosmosCoinFromERC20 * update spec to include MsgConvertCosmosCoinFromERC20 * update changelog * add CLI command for convert-cosmos-coin-from-erc20 * add test of removed/re-enable denom for convert
Commit: | d988330 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat(evmutil): add MsgConvertCosmosCoinFromERC20 proto (#1608) * add MsgConvertCosmosCoinFromERC20 proto & Msg impl * test MsgConvertCosmosCoinFromERC20 validation * register msg codec in this PR :sweat_smile:
Commit: | d500cd1 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat(evmutil): Add DeployedCosmosCoinContracts query (#1605) * add QueryDeployedCosmosCoinContracts proto * also implement protobuf marshaler for InternalEVMAddress * setup iteration & collection for deployed addrs * rewrite grpc query tests * support querying for all deployed contracts * support querying by cosmos denom * fix & test pagination * remove unused iteration methods * add CLI query command * update changelog * update spec * add InternalEVMAddress.MarshalJSON test
Commit: | d4cbc75 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
update new names, NativeCoin -> CosmosCoin (#1596) * rename contract NativeCoin -> CosmosCoin * rename all entities NativeCoin -> CosmosCoin * update changelog * update protonet genesis.json
Commit: | 61c3aa0 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat(evmutil): add proto for MsgConvertNativeCoinToERC20 (#1595) * add proto for MsgConvertNativeCoinToERC20 * implement Msg types & unit test validation
Commit: | ff709d7 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) * add proto for allowed sdk denoms -> evm conversion * add validation for AllowedNativeCoinERC20Token * add validation for AllowedNativeCoinERC20Tokens * add AllowedNativeDenoms into params & genesis * add evmutil Params.Validate() test * fix eip712 ante test * update changelog * update internal testnet genesis.json * update state & param specs updates to the sections describing functionality will be updated once that functionality actually exists... :) * update field decimal -> decimals field now matches erc20 spec * add validation decimals will cast to uint8 * add v2 store migration for evmutil * create & register evmutil migrations * adds migrator to evmutil's keeper * sets up Migrate1To2 migration * registers migration in module * updates GetParams to properly handle historic block queries * add unit test for GetParams with historic store
Commit: | 95d9fb9 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat: add CommunityCDPWithdrawCollateralPermission (#1568) * Add CommunityCDPWithdrawCollateralPermission * Add changelog entry * Move permission Allow func closer to its other cdp friend
Commit: | 31eae1c | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat: add community cdp withdraw collateral proposal (#1567) * Initial proposal types * Add withdraw cdp proposal handler * Add codec registration for proposal type * Update CommunityCDPWithdrawCollateralProposal name * Rename CommunityCDPWithdrawCollateralProposal * Add changelog entry * Add proposal registration, unit tests * Register CommunityCDPWithdrawCollateralProposal proposal type codec
Commit: | 14a0860 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat: add CommunityCDPRepayDebtPermission (#1566) * feat: add CommunityCDPRepayDebtPermission When granted, the new permission allows a committee to submit a CommunityCDPRepayDebtProposal to lower principal owed on a cdp owned by the x/community module. * update changelog * update protonet genesis.json
Commit: | c5f414e | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat: add community cdp repay debt proposal (#1565) * add CommunityPoolCDPRepayDebtProposal proto & type * add cdpKeeper to x/community's keeper * add handler for CommunityPoolCDPRepayDebtProposal * more test cases * rename CommunityPoolCDP -> CommunityCDP the proposal does not interact with the vanilla community pool * fix & test stringer * update changelog
Commit: | 8c1c29a | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
feat: add CommunityPoolLendWithdrawalPermission (#1562) * feat: add CommunityPoolLendWithdrawalPermission * update kvtool to master branch * register with PubProposal legacy amino codec * register missing legacy amino codec PubProposal
Commit: | 56f697f | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat: overwrite x/distribution `/community_pool` endpoint to include x/community balance (#1563) * Add query path rewrites * Add test for new x/community endpoint * Update doc for RegisterAPIRouteRewrites * Add changelog entry * Add changelog entry link
Commit: | f757d7a | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
feat: upgrade to Cosmos v0.46 (#1477) * Update cosmos-sdk to v0.45.10-kava * Add RegisterNodeService to app * Update cosmos proto files * Update cosmos proto files * Use tagged v0.45.10-kava-v0.19-0.21 cosmos version * update x/auth/legacy to x/auth/migrations * Delete rest packages and registration * Remove rest from proposal handlers * Remove legacy types referencing removed sdk types * Remove legacy tx broadcast handler * Update incentive staking hooks to return error * Remove grpc replace directive, use new grpc version * Fix storetypes import * Update tally_handler with updated gov types * Delete legacy types * Use new gov default config * Update RegisterTendermintService params Signed-off-by: drklee3 <derrick@dlee.dev> * Replace sdk.StoreKey with storetypes.StoreKey * Replace sdk.Int#ToDec with sdk.NewDecFromInt * Replace sdk.NewUintFromBigInt with sdkmath.NewUintFromBigInt Signed-off-by: drklee3 <derrick@dlee.dev> * Update most intances of govtypes to govv1beta1 * Unpack coin slice for Coins#Sub and Coins#SafeSub Signed-off-by: drklee3 <derrick@dlee.dev> * Update committee gov codec registration Signed-off-by: drklee3 <derrick@dlee.dev> * Update migrate utils period_vesting Coins#Sub Signed-off-by: drklee3 <derrick@dlee.dev> * Update Coin#Sub in community proposal handler Signed-off-by: drklee3 <derrick@dlee.dev> * Update Coin#Sub, FundModuleAccount/FundAccount in banktestutil Signed-off-by: drklee3 <derrick@dlee.dev> * Update community, earn, kavadist proposal gov registration * Update evm cli client EthSecp256k1Type check * AccAddressFromHex to AccAddressFromHexUnsafe * Add mint DefaultInflationCalculationFn to earn test * Update use of removed staking.NewHandler * Rename FlagIAVLFastNode -> FlagDisableIAVLFastNode * cmd: Update new snapshot app option Signed-off-by: drklee3 <derrick@dlee.dev> * cmd: Add tendermint default config, use cosmos rpc status command Signed-off-by: drklee3 <derrick@dlee.dev> * Update ethermint import path github.com/tharsis/ethermint -> github.com/evmos/ethermint * Upgrade ibc-go to v6 * Update proto dependencies Signed-off-by: drklee3 <derrick@dlee.dev> * Update Tally handler test with new gov types * Update helpers.GenTx -> helpers.GenSignedMockTx * Update evmkeeper.NewKeeper params Signed-off-by: drklee3 <derrick@dlee.dev> * Update ante authz, tests * Add feemarket transient key, pass subspaces to evm/feemarket keepers * Update new ante decorators * Add new addModuleInitFlags to server commands * Pass codec to keyring.New in genaccounts * Pass codec to client keys add * Add SendCoins to evmutil bank_keeper * Use github.com/cosmos/iavl@v0.19.5 * Add ante HandlerOptions * Add unimplemented SendCoins to evmutil bank keeper Ethermint x/evm does not use this method * Update init-new-chain script to disable post-london blocks * Modify test genesis states to append 1 validator * Update tally handler test to use string values * Prevent querying balance for empty sdk.AccAddress in auction bidding test * Set default bond denom to ukava * Remove overwritten bank genesis total supply in committee proposal test Signed-off-by: drklee3 <derrick@dlee.dev> * Use ukava for testing staked balance * Disable minting in community proposal handler test Previously stake denom is used, which resulted in 0 minted coins * Update hard APYToSPY test expected value Increased iterations in sdk.ApproxRoot, updated closer to real value * Fix NewDecCoinsFromCoins bug in incentive collectDerivativeStakingRewards * Allow bkava earn incentive test values to match within small margin for rounding Signed-off-by: drklee3 <derrick@dlee.dev> * Update invalid denom in issuance message coin validation Colons are now valid in denoms Signed-off-by: drklee3 <derrick@dlee.dev> * Remove genesis validator in incentive delegation tests * Update pricefeed market test for invalid denom Signed-off-by: drklee3 <derrick@dlee.dev> * Update incentive delegator rewards test without genesis validator Signed-off-by: drklee3 <derrick@dlee.dev> * Add validator to export test * Clear bank state in minting tests Signed-off-by: drklee3 <derrick@dlee.dev> * Remove validator for no stake tally test Signed-off-by: drklee3 <derrick@dlee.dev> * Clear incentive state before InitGenesis in incentive genesis export test * Update swagger Signed-off-by: drklee3 <derrick@dlee.dev> * Update ethermint version to match replaced version * Remove legacy swagger * Add NewEthEmitEventDecorator * Remove redundant func for AddModuleInitFlags * Remove unused addBankBalanceForAddress func * Add SetIAVLLazyLoading option to app cmd * Use legacy.RegisterAminoMsg for committee msg concrete registration * Remove unnecessary Amino field * Add evm_util bankkeeper SendCoins comment * Update test method ResetBankState to DeleteGenesisValidatorCoins to be more clear * Validate incentive params.RewardsPerSecond to be non-zero * Validate swap pools to disallow colons in token denoms * Register all legacy amino types on gov modulecdc * Remove redundant Comittee interface registration * Pin goleveldb to v1.0.1-0.20210819022825-2ae1ddf74ef7 Causes failed to load state at height errors * Update ethermint to new pinned version with minGasPrices parse error fix * Update cosmos fork dependcy commit to include reverted account constructor patch * Update Cosmos v0.46.11 and cometbft v0.34.27 * Bump minimum go version to 1.19 * Update tendermint proto * Update internal testnet genesis * Move NewCanTransferDecorator before NewEthGasConsumeDecorator * Add hard borrow store tests (#1514) * add store tests for Borrow type * refactor Deposit tests to match * Fix old bep3 tests (#1515) * Update Ethermint to 1b17445 to fix duplicate proto registration * Add custom status command to use snake_case and stdout * Add SetInflation helper * Reduce ambiguity with evm CanSignEthTx error * Remove init genesis validator claim in test * Add disabled evmante.NewMinGasPriceDecorator with x/feemarket note * chore: use tagged versions for Cosmos and Ethermint forks * update kvtool & increase wait for ibc transfer test --------- Signed-off-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Robert Pirtle <astropirtle@gmail.com>
Commit: | 268104f | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
fix: remove denom path parameters from hard grpc query url (#1520)
Commit: | ecb0af6 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
fix: remove denom path parameters from hard grpc query url (#1519)
Commit: | d512469 | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
Backport incentive grpc query service (#1504) * Add incentive grpc query service * Register query server * Add grpc query test * Add grpc query test * Fix proto lints * Fix missing savings field, update tests * Update proto docs * Use consts for query reward types * Add owner to queryRewards err * Add empty reward type to be valid
Commit: | 35c848d | |
---|---|---|
Author: | drklee3 | |
Committer: | GitHub |
Add incentive grpc query service (#1503) * Add incentive grpc query service * Register query server * Add grpc query test * Add grpc query test * Fix proto lints * Fix missing savings field, update tests * Update proto docs * Use consts for query reward types * Add owner to queryRewards err * Add empty reward type to be valid
Commit: | 816c1f6 | |
---|---|---|
Author: | Draco | |
Committer: | Draco |
add MsgEVMCall
Commit: | b26e12a | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
remove legacy-community-pool query (#1459)
Commit: | 0d38ce7 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
replace x/kavamint with x/mint (#1452) * replace x/kavamint with x/mint * replace x/mint with x/kavamint in internal testnet * delete all x/kavamint code (#1453)
Commit: | b928a16 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
delete all x/kavamint code (#1453)
Commit: | 0255d3b | |
---|---|---|
Author: | Draco |
update proto
Commit: | 36e9121 | |
---|---|---|
Author: | Draco |
Merge branch 'feat/evmcall2' into feat/evm-proposal-2
Commit: | 08162b7 | |
---|---|---|
Author: | Draco |
community pool proposal implementation
Commit: | f54f70f | |
---|---|---|
Author: | Derrick Lee | |
Committer: | rhuairahrighairigh |
Revert "Revert "Add AccrualTime type and state methods (#1379)"" This reverts commit 0eb55f98d2ca73300fa6ef0fb2cdc25a5697d2b8.
Commit: | 1e1a633 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | rhuairahrighairigh |
Revert "Revert "Add incentive RewardIndexes types and state methods (#1381)"" This reverts commit 5e44387602b42639c17c24a68fa3e66fb03dade3.
Commit: | 1f0e301 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | rhuairahrighairigh |
Revert "Revert "Add generic incentive `AccumulateRewards` method (#1392)"" This reverts commit 554eff7e713c88cedef72e9ce10d1709fb62f8fc.
Commit: | f8d76cf | |
---|---|---|
Author: | Derrick Lee | |
Committer: | rhuairahrighairigh |
Revert "Revert "Add incentive claim state methods (#1375)"" This reverts commit 31983797bcbcc8850d34264458f104e22b82512d.
Commit: | 3b5ffee | |
---|---|---|
Author: | rhuairahrighairigh | |
Committer: | rhuairahrighairigh |
Revert "Regerate protos and minor revert fixes" This reverts commit 829940815bfa0c459abd4d2f2b836f3a9156bcb0.
Commit: | 3ddc941 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | rhuairahrighairigh |
Revert "Revert "Add generic Claim type (#1371)"" This reverts commit f9f9bb1140051eddc614757cdc74113f9cd4f92c.
Commit: | 4b8e224 | |
---|---|---|
Author: | Ruaridh | |
Committer: | GitHub |
Revert incentive refactor commits (#1433) * Revert "Add incentive migrations for earn rewards (#1406)" This reverts commit 937e5f339f97bd2451dc47fe9010d9c3c103ed87. * Revert "Use different accumulator for earn (#1395)" This reverts commit cf009647e6f6f57ba7469bb0a4a851eac00f9b10. * Revert "Add base earn incentive accumulator (#1393)" This reverts commit 44a90a8ef927b9b2ea20bad26605134987f8c9cf. * Revert "Add generic incentive `AccumulateRewards` method (#1392)" This reverts commit dce631d3de6aaa006c148d3aecb48e29f3e570df. * Revert "Add GetSynchronizedClaim and swap adapter (#1386)" This reverts commit f52a581ea910251d6534c2be3c30fc3c1ed19ebe. * Revert "Add Initialize/Synchronize Claim methods (#1383)" This reverts commit c2061f626eab3043a6a2e8b9f8efb77eca45da9f. * Revert "Add source adapter interface definition (#1377)" This reverts commit 2abb2ce606ae17a4f8bb8062e4c144c70418a6e9. * Revert "Add incentive RewardIndexes types and state methods (#1381)" This reverts commit 4a3002b09c0e5951f69f2d1293d964092227632c. * Revert "Add AccrualTime type and state methods (#1379)" This reverts commit df1c2ffc34e79f5978f1ca0e9f1df7e3ce6cc438. * Revert "Add incentive claim state methods (#1375)" This reverts commit 90735e29ed9109e56470a0324e804ad4142623f6. * Revert "Add generic Claim type (#1371)" This reverts commit 45fc1a764388eab8dc89f8ed404e9ec5cf54cfbe. * Regerate protos and minor revert fixes
Commit: | 66605b3 | |
---|---|---|
Author: | Draco | |
Committer: | Levi Schoen |
add MsgEVMCall
Commit: | 8eb9e1d | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
Add LegacyCommunityPool query to x/community (#1432) * add proto for LegacyCommunityPool query * add distribution keeper to community keeper * implement LegacyCommunityPool query * add cli cmd for legacy-community-pool
Commit: | 2f5a09e | |
---|---|---|
Author: | Draco | |
Committer: | Draco |
add MsgEVMCall
Commit: | 1555c99 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
Proto & types for x/community lend proposals (#1423) * add proto for x/community lend proposals * add proposal type validation w/ tests
Commit: | f373218 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Commit: | 28aa48f | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | Nick DeLuca |
Refactor Buf Usage -- ibc swagger dep fetching is disabled due to v3.3.1 containing an invalid swagger file. This was manually updated.
Commit: | dce631d | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add generic incentive `AccumulateRewards` method (#1392) * Add generic accumulator * Add MultiRewardPeriodOfClaimType type to params * Add adapters wrapper * Add MultiRewardPeriodsOfClaimType to params * Add multireward period to genesis test * Rename MultiRewardPeriodOfClaimType to TypedMultiRewardPeriod * Use source adapters wrapper
Commit: | 0d28a7b | |
---|---|---|
Author: | Derrick Lee | |
Committer: | Nick DeLuca |
Capture multiple path segments for earn /vaults/{denom=**} query (#1391)
Commit: | d5dcfe7 | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | GitHub |
Refactor Buf Usage (#1399) * start makefile refactor to smaller units; break out proto-dep updating; add check-proto-deps target for use in CI in order to determine if depdencies have diverged * add proto check workflow * download go modules before checking proto deps * clean up -- hide output and add error message for check target * add error message for check-rsync * update any type, and ibc-go protos for v3.4.0 * add buf generate files for gogo, docs, and swagger * update swagger dirs and run with latest swagger gen * ignore new build directories * refactor proto makefile logic -- use buf instead of scripts * remove old protobuf scripts * run all proto checks on push * remove moved file * set default value for protoc machine * install build deps seperately * fetch master for buf check breaking * checkout from https url in CI for buf breaking * fix rsync file permissions on darwin * ignore build dirs * fix issue with apple provided make; clean up build deps; switch to buf format * remove clang format file -- using buf format now * run make proto-format (buf format changes) * update generated files for proto format changes
Commit: | 30eb83d | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Capture multiple path segments for earn /vaults/{denom=**} query (#1391)
Commit: | b938893 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | Robert Pirtle |
add total supply queries for earn, savings, liquid (#1384) * add total supply endpoint to x/liquid * add test of x/liquid total supply query * refactor x/savings test * add total supply endpoint for x/savings (w/ test) * add total supply endpoint for x/earn * handle converting bkava to underlying staked amount * aggregate bkava underlying values in x/earn * aggregate underlying value of bkava in x/savings
Commit: | fcfcd36 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
add total supply queries for earn, savings, liquid (#1384) * add total supply endpoint to x/liquid * add test of x/liquid total supply query * refactor x/savings test * add total supply endpoint for x/savings (w/ test) * add total supply endpoint for x/earn * handle converting bkava to underlying staked amount * aggregate bkava underlying values in x/earn * aggregate underlying value of bkava in x/savings
Commit: | 4a3002b | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add incentive RewardIndexes types and state methods (#1381) * Add TypedRewardIndexes type * Add RewardIndexes to genesis * Update iteration method names, GetKeyFromSourceID method
Commit: | df1c2ff | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add AccrualTime type and state methods (#1379) * Add methods for reward accrual time * Add accrual time methods * Add claim type to IterateAllRewardAccrualTimes callback method * Use new AccrualTime proto type for state methods, add to genesis * Add GetAllRewardAccrualTimes doc * Add accrual times to genesis methods * Remove DecodeKeyPrefix * Update acrual time iterate method naming * Update Iterate claims naming * Use method for sourceID key conversion
Commit: | 4087941 | |
---|---|---|
Author: | Robert Pirtle | |
Committer: | GitHub |
remove all yaml tags from proto definitions (#1382) the yaml tags are not needed as they are generated automatically from the json tags. additionally fixed proto formatting error requiring doc comments on enum values (for x/incentive claim type enum).
Commit: | 90735e2 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add incentive claim state methods (#1375) * Add Claim proto types * Add new claim keys * Add claim state method tests * Add claims to genesis * Re-add GetType for USDX claim * Add doc comments to key methods * Add Claim validate test * Update claimType to BigEndian binary encoding
Commit: | 99bf324 | |
---|---|---|
Author: | drklee3 |
Remove UsdxMintingClaim type
Commit: | f5e51ae | |
---|---|---|
Author: | drklee3 | |
Committer: | drklee3 |
Add generic claim methods, migrate usdx to use generic claim
Commit: | 45fc1a7 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add generic Claim type (#1371)
Commit: | 807f090 | |
---|---|---|
Author: | rhuairahrighairigh |
run proto gen
Commit: | b0b8a89 | |
---|---|---|
Author: | rhuairahrighairigh | |
Committer: | rhuairahrighairigh |
replace swap claims with general ones
Commit: | 8ca3f15 | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | Nick DeLuca |
Update Protos (#1362) * Update third party protos for tendermint, cosmos updates * fix proto gen scripts for go 1.18 * update ibc go swagger for v3.3.0 * update generated files * update swagger * update grpc and protobuf deps
Commit: | 5110fea | |
---|---|---|
Author: | Nick DeLuca | |
Committer: | GitHub |
Update Protos (#1362) * Update third party protos for tendermint, cosmos updates * fix proto gen scripts for go 1.18 * update ibc go swagger for v3.3.0 * update generated files * update swagger * update grpc and protobuf deps
Commit: | cbd10cf | |
---|---|---|
Author: | rhuairahrighairigh | |
Committer: | Levi Schoen |
add empty grpc endpoint (cherry picked from commit df252ca1d5cbd65cc0b918f165285fdd849837be)
Commit: | adab5ff | |
---|---|---|
Author: | rhuairahrighairigh | |
Committer: | Levi Schoen |
remove unbonding from returned balance (cherry picked from commit 3cf65c075671af188ad7478b6af92e6f740484a3)
Commit: | a39c413 | |
---|---|---|
Author: | Ruaridh | |
Committer: | GitHub |
Add Vested Delegated API endpoint (#1327) * add empty grpc endpoint * add basic implementation * remove unbonding from returned balance * fix test typo * resolve todo, use better method from staking mod
Commit: | ad6f539 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | drklee3 |
Add Earn deposits `value_in_staked_tokens` query parameter (#1325) * Add earn deposits query param to return individual vaults value as ukava * Add value_in_staked_tokens param handler to specific vault query * Use separate ukava coins when querying deposits in ukava Avoid usd of sdk.Coins.Add() as those will aggregate ukava amounts
Commit: | 4c879bc | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add Earn deposits `value_in_staked_tokens` query parameter (#1325) * Add earn deposits query param to return individual vaults value as ukava * Add value_in_staked_tokens param handler to specific vault query * Use separate ukava coins when querying deposits in ukava Avoid usd of sdk.Coins.Add() as those will aggregate ukava amounts
Commit: | b0932f7 | |
---|---|---|
Author: | Kevin Davis | |
Committer: | GitHub |
Implement infrastructure proposal (#1306) * update params * stub out methods * delete legacy migration test * feat: add infrastructure inflation and payouts * fix: load same module account blocked addrs in kavadist as app * fix: testing edge case where period starts and ends same block * fix: add store key for infra params, update newparams function * fix: testing edge case where period starts and ends in same block * add test for basic infra minting * add test for stand-alone core, partner rewards * fix: set time elapsed in each case * add e2e test for infra rewards * fix: use standard method for naming infra params key
Commit: | ef874f9 | |
---|---|---|
Author: | Kevin Davis | |
Committer: | GitHub |
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
Commit: | ac96bb9 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Revert per-module incentive claim denom multipliers (#1312) * Revert "Support per-module incentive claim denom multipliers (#1300)" This reverts commit c20c954917732848f0bb8a304d34cac736eadb3d. * Re-add validate error
Commit: | 9519690 | |
---|---|---|
Author: | Ruaridh | |
Committer: | GitHub |
Add Combined Earn and Liquid msgs (#1305) * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments
Commit: | c20c954 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Support per-module incentive claim denom multipliers (#1300) * Add module name to multiplier * Add claim test to use correct multiplier * Add separate test for GetMultiplierByDenom * Add 0 length lockup for earn to params test * Add additional tests for genesis and params
Commit: | 26a4b93 | |
---|---|---|
Author: | Derrick Lee | |
Committer: | GitHub |
Add base earn incentives (#1292) * Add incentive types * Add earn state methods * Update earn incentives * Update unit test NewKeeper to include earn keeper * Fix sharesOwned typo * Shares not used for AfterVaultDepositCreated * Add earn to init genesis * Pass earn keeper to incentive keeper * Add sdk.Msg impl, disable legacy migrations * Disable migrations * Update incentive earn sync test * Add earn to client and querier * Add accum and init tests * Add additional earn tests * Fill in fakeEarnKeeper methods to fix tests * Add earn reward periods to params, begin blocker earn reward * Add earn to query * Update genesis_test with missing DefaultMultiRewardPeriods parameter * Remove disable of migration package * Fix proto type comments * Remove unused migration state * Add legacytx.LegacyMsg compile time interface check * add earn state validation to genesis validation Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
Commit: | 485f9ab | |
---|---|---|
Author: | drklee3 |
Merge remote-tracking branch 'origin/ro-combined-earn-liquid-msgs' into dl-earn-eip712
Commit: | 96cfc4d | |
---|---|---|
Author: | drklee3 | |
Committer: | drklee3 |
Add module name to multiplier