Skip to content

Commit

Permalink
v1.2 release (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinxie authored May 11, 2021
1 parent 43dfee3 commit e06bc1f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
21 changes: 21 additions & 0 deletions changelog/v1.2-release-note.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# v1.2 Release Note

### v1.2 Release Note
1. web3js compatibility. With v1.2 user can connect their favorite tools in the
Ethereum eco-system (such as Metamask, Subgraph) to IoTeX blockchain simply by
setting up RPC endpoint to IoTeX endpoint
2. Support multiple chain DB files. v1.2 will now generate 1 db file for every
1,000,000 accumulated blocks added to the blockchain. This prevents one single
overly large db file in the long run, and opens up possibility for faster and
incremental download (only need to download new latest db files)
3. Reduced DB file size. Together with the multiple DB files feature, the DB file
itself has been overhaualed by using an improved block storage with better
compression. The estimated storage saving is about 30~40% when enabling v1.2
4. Added EVM revert message in transaction receipt. For contract calls that get
reverted in the middle, we can now see the actual revert error message from the
transaction receipt
5. Improved transaction indexing scheme. As a result, certain API queries (for
example, pull all transactions from an address within a block range) now get a
much faster response
6. Improved p2p connection reliability and network robustness
7. Fix ioctl crashes in Ubuntu when creating an action
2 changes: 2 additions & 0 deletions config_mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ chain:
chainDBPath: "/var/data/chain.db"
trieDBPath: "/var/data/trie.db"
indexDBPath: "/var/data/index.db"
bloomfilterIndexDBPath: "/var/data/bloomfilter.index.db"
candidateIndexDBPath: "/var/data/candidate.index.db"
stakingIndexDBPath: "/var/data/staking.index.db"
maxCacheSize: 1000
committee:
gravityChainAPIs:
Expand Down
3 changes: 3 additions & 0 deletions config_testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ network:

chain:
# producerPrivKey: SET YOUR PRIVATE KEY HERE (e.g., 96f0aa5e8523d6a28dc35c927274be4e931e74eaa720b418735debfcbfe712b8)
evmNetworkID: 4690
chainDBPath: "/var/data/chain.db"
trieDBPath: "/var/data/trie.db"
indexDBPath: "/var/data/index.db"
bloomfilterIndexDBPath: "/var/data/bloomfilter.index.db"
candidateIndexDBPath: "/var/data/candidate.index.db"
stakingIndexDBPath: "/var/data/staking.index.db"
maxCacheSize: 1000
committee:
gravityChainAPIs:
Expand Down
1 change: 1 addition & 0 deletions genesis_testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ blockchain:
fbkMigrationHeight: 3250081
fairbankHeight: 3252241
greenlandHeight: 4794481
hawaiiHeight: 8613361
numCandidateDelegates: 36
numDelegates: 24
numSubEpochs: 15
Expand Down

0 comments on commit e06bc1f

Please sign in to comment.