Commit Graph

24 Commits

Author SHA1 Message Date
Blockchain Validator
363e284c02
Update migrate.md (#1266)
Add genesis hash instead of [PLACEHOLDER]
2022-06-03 13:43:39 -07:00
Nick DeLuca
86de5011f2
Fix validate-genesis for kava 10 by updatine usdx debt limit to be valid (#1257) (#1258) 2022-05-27 16:31:28 -07:00
Kevin Davis
eb1cec7d5c
upgrade migrate doc for v0.17.3 2022-05-25 11:26:34 -06:00
Kevin Davis
119c39da5c
Update migrate to use v0.17.2 2022-05-25 11:20:05 -06:00
iammelea
9b15b1c2e9
Update migrate.md (#1256)
from  
kvd export --for-zero-height --height 1610471 > export-genesis.json
to 
kava export --for-zero-height --height 1610471 > export-genesis.json
2022-05-25 09:12:46 -07:00
Ruaridh
833eedd3fc
Add app.toml updates to migration guide (#1247)
* add default app.toml with recommended gas price

* add basic instruction to guide

* highlight config changes
2022-05-18 15:31:55 +01:00
Draco Li
b30192608c
Update kava-10 upgrade time (#1252)
* update kava-10 upgrade time

* fix gen time
2022-05-17 23:43:37 -04:00
Jacob Gadikian
09ddb3e367
gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
Kevin Davis
f5c2e95517
Correct date 2022-05-06 07:52:08 -06:00
Nick DeLuca
ae81b4947b
disable london fork for kava 10 evm and dev chain (#1240) 2022-05-05 16:58:04 -07:00
Ruaridh
65faddb5aa
Update committee permissions for kava-10 (#1234)
* add committee migration skeleton

* add helper methods to help modify permissions

* modify permissions in migration

* tidy up committee migrations into own file
2022-05-03 19:09:43 +01:00
Nick DeLuca
ff115c8cf4
disable fee market for kava v0_17 migration (#1237) 2022-05-03 11:47:14 -06:00
Kevin Davis
2491f0116d
update upgrade time to account for most recent data (#1236) 2022-05-02 16:14:52 -06:00
Ruaridh
7cde82ad7a
fix unsafe-reset-all cmd reference (#1235) 2022-05-02 21:00:02 +01:00
Draco Li
a21d16f297
e2e test for kava 9 -> kava 10 migration (#1232)
* e2e test for kava9 export

* fix bad chain id
2022-04-29 10:08:04 -06:00
Draco Li
014038ee57
kava-10 upgrade instructions (#1227)
* migrate doc for kava 10

* update wording

* height & time update

* update to 4 hours before failure

* correct times & block height

* add rollback doc

Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-28 16:34:47 -06:00
Ruaridh
fefcb48a80
Reset bep3 swaps for zero height (#1228)
* copy over swap height reset from v016 upgrade

* remove unneeded old bep3 migrations

* hook migration cmd into app

* add bep3 migration integration test

* update old docs
2022-04-27 16:27:10 +01:00
Levi Schoen
a33a7b1166
Reset periodic vesting accounts for v17 migration (#1225)
- Move logic for reseting periodic vesting accounts to utils package
2022-04-26 09:17:15 -07:00
Draco Li
39d6176080
x/savings migration (#1226) 2022-04-25 15:48:59 -04:00
Levi Schoen
c5de1302f6
Add x/incentive module migrations (#1224) 2022-04-22 16:30:09 -07:00
Nick DeLuca
bbb2235ba0
Add auction migration (#1220)
* add initial auction migration from Levi's work

* reserve bid_duration field name as well

* refactor auction specifc migration code to legacy v0_17 pkg

* Add auction migration specific test. Delete v016 migration files. Add makefile target for running migration tests.

Co-authored-by: galxy25 <levismschoen@gmail.com>
2022-04-22 11:36:05 -07:00
Derrick Lee
f6c55b7015
Add bridge migration (#1214)
* Add bridge migration

* Use NewGenesisState method

* Update migrations with new params

* Use nil for relayer instead of empty address

Both are still valid
2022-04-22 09:22:20 -07:00
Draco Li
812b03af2a
x/authz v17 migration (#1217) 2022-04-22 11:58:55 -04:00
Draco Li
c511c56560
Add EVM Support (#1215)
* ibc v3 upgrade

* ibc no longer uses confio

* add proofs proto for ibc/v3

* wip add ethermint module

* update cosmos to 0.45.0

* add ethermint proto & bug fixes

* remove todo

* update docs

* fix a number of bugs

* minor comments update

* fix breaking tests

* Wrap bank keeper for EVM to convert decimals (#1154)

* Add bankkeeper wrapper for evm

* Remove agas from init-new-chain.sh, use ukava for evm_denom

* Fix sdk.Coins conversion, require min 1 coin amount

* Remove gas from init script

idk how this happened lol

* Remove debug logging stmt

* Restore original init ukava amounts

* Fix inplace coins conversion

* Use evmtypes.BankKeeper interface insteadof banktypes

* Add TestGetBalance

* Add doc comments, remove temp actualAmt vars

actualAmt vars replaced with inline calls to make it more clear that the
converted value is being used, as opposed to accidentally reusing the
raw EVM amt.

* Add TestSetBalance

* Add TestIdempotentConversion

* Panic if converted coin from EVM is 0

This happens if a value is less than 1ukava

* Deep copy coins instead of in place modification

* Update test coins amount

* Add panic tests for small EVM amounts

* Use evmtypes.BankKeeper as NewEVMBankKeeper param

* Tidy test setup

* ensure sdk config is set when creating new apps

* Respond EVM bank keeper GetBalance with SpendableCoins

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>

* further speed up docker builds

* feat: restore previous keys add defaults, add eth flag (#1172)

* feat: restore previous keys add defaults, add eth flag

* remove outdated comment

* fix: remove redundant flag default

* evm bank keeper with akava handling

* fix issues

* add remaining tests

* add emv module to app

* add missing imports

* clean up comments

* wip akava keeper

* evm keeper

* fix genesis import

* reduce module permissions

* add bank keeper tests

* cleanup tests

* genesis tests

* change defaults

* add eth faucet key & fix issues

* switch to kava ethermint

* add a lot of tests

* add balances invariant

* add evm tests

* Remove panic if Swagger disabled in config (#1155) (#1183)

Co-authored-by: Derrick Lee <derrick@dlee.dev>

* add invariant to catch any akava balance > 1 ukava

* clarify name of balances invariant

* connect invariants to app

* fix evmbankkeeper akava issues

* add spec for evmutil

* remove zero balance accounts from state

* minor adustments

* update to ethermint 0.10.0

* fix eth ante

* add missing godoc comment

* Update x/evmutil/spec/01_concepts.md

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>

* Update x/evmutil/spec/01_concepts.md

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>

* Update ethermint to v0.12 (#1203)

* update to ethermint v0.12.2

* use app.Options for new evm options

* fix missed references to app.Options

* use ethermint branch while waiting on upstream fix

* evm migrations for tesnet alpha 2 (#1206)

* update to ethermint v0.12.2

* use app.Options for new evm options

* fix missed references to app.Options

* use ethermint branch while waiting on upstream fix

* add upgrade handler for evm-alpha testnet 2

* v17 migration setup + evm modules

* refactor migrate states

* x/feemarket migration

* v17 migrations setup + evm modules migration (#1210)

* v17 migration setup + evm modules

* refactor migrate states

* update gen time

* fix: update genesis time in test output

Co-authored-by: karzak <kjydavis3@gmail.com>

* add savings module to app blockers

Co-authored-by: Derrick Lee <derrick@dlee.dev>
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 16:16:28 -04:00