sgkim126 on master
Bug fix in on_request_commit_me… (compare)
I like this Commit in the PR. Before the commit, code is divided according to whether the validator set is dynamic or static. After the commit, the code is split by what it does first and split again by the dynamic or static validator set. Thanks the change, it is easy to track what's different between the dynamic validator set and the static validator set.
:smile:
cargo fix --edition-idioms
in the foundry project?extern crate
in many cases, but from the 2018 edition, we don't need it in most cases.Our check_shard_level_state macro is an excellent point to study Rust macro. I understood how to use the macro by reading it.
https://github.com/CodeChain-io/foundry/blob/master/state/src/impls/test_helper.rs#L558