Skip to content

Conversation

@ping-ke
Copy link
Contributor

@ping-ke ping-ke commented Mar 28, 2022

No description provided.

qizhou and others added 15 commits September 7, 2021 01:01
- When the xchain cursor moves from one root block to another root block, it will find the next root block by iterating from max root block.  If the max root block is much higher than next root block (e.g., > original 256), then the cache will not be effective, and thus causing a lot of raw db operations.

Related code:
https://github.com/QuarkChain/pyquarkchain/blob/ff92683d0314a9969b348aeba60fdc14bfb7ddf4/quarkchain/cluster/shard_state.py#L203
https://github.com/QuarkChain/pyquarkchain/blob/ff92683d0314a9969b348aeba60fdc14bfb7ddf4/quarkchain/cluster/shard_db_operator.py#L297
- Avoid confirming too many rblocks and thus xshard cursor will take a long time to iterate all rblocks' xshard txs.
* improve mnt transfer EVM test

1. fixed test util's display of prev & current state
2. updated fixture's contract bytecode and made sure EVM behavior is
   expected

* add test cases for long token ID

* fix token ID

* minor

* fix root hash
Co-authored-by: Qi Zhou <qzhou64@gmail.com>
* Add fields to POSW
* Add function for PoSW diff adjustment
* add ROOT_CHAIN_POSW_CONTRACT_BYTECODE_HASH to config
* update Boost_Timestamp for devnet config
@ping-ke ping-ke requested review from ninjaahhh and qizhou March 28, 2022 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants