v0.9-testnet
This is a new release for CertiK Chain with various different features and bug fixes. The 0.8 chain data was copied over at height 1343300.
To upgrade to the new binary, there are two options.
-
Startup from genesis (WARNING: due to high load of data in the genesis file, this method will require more than 8GB of RAM to follow.)
- Stop the running certik daemon (
killall certikd
). - download the genesis.json file and replace
config/genesis.json
. (by default it is located in~/.certikd/config/genesis.json
. - run
certikd unsafe-reset-all
. - copy content in
persistent_peers.txt
toconfig/config.toml
, underpersistent_peers = "<paste content here>"
. - run
certikd start
with the new binary. - Note since the genesis data is big, the startup might take a few minutes.
- Stop the running certik daemon (
-
Starting from a pre-loaded state at height 1 (takes up to 2GB of memory)
- steps 1 through 4 should be the same with above.
- After copying persistent peers over, download data.zip
- Unzip data.zip, and copy over the content of the unzipped folder under
data/
directory.
Note that it might take up to 5 minutes to load and commit the first height when starting off from genesis.
If you were a validator before the update, you will have to unjail yourself using the command certikcli tx slashing unjail
.
It is crucial you run certikd unsafe-reset-all
to prevent any unexpected behavior after you upgrade.
Changelog
Features
- Update basic structures for certification module.
- Add basic operations for certifiers and validators in certification module.
- Custom Governance module
- Add Cosmos's community pool spend proposal.
- Add REST endpoints in the governance module for plain-text proposals.
- optional --caller flag in view query now allows you to specify which account the simulated transaction is sent from
- Introduce certificate and added compilation as one of the certificate types.
- Allow cert query for all validators and change validators' parameter to crypto.Pubkey
Bug Fixes
- Fix formatting error of abi query.
- Fix CVM gas estimation while transaction gas limit handling.
- Changed the way to query a certified validator and fixed when getting certifier of a validator.
- Add return message while querying uncertified smart contract to replace panic
- Add RESTful api for validators query
State Machine Breaking
- Remove flat intrinsic gas cost from CVM.
Improvements
- Add voting power (really amount staked) to REST votes query.
- Add txhash to Deposit and Vote types so that they can be queried.
- Add events for deposit and vote. Now they can be queried correctly.
- Add Swagger API autogen.
- Changes and fixes CVM contract deployment format.
- Add CVM call/deploy commands under the root tx command.
- Add e2e test for state export/import.
- Custom "burning" mechanism removed. Now burns tokens while slashing.
- Introduce maximum gas used by CVM per transaction.