OSDN Git Service

fix(bcrp): fix bcrp when apply block and detach block (#2081)
authorDeKaiju <longjinglv@163.com>
Wed, 18 Aug 2021 16:15:13 +0000 (00:15 +0800)
committerGitHub <noreply@github.com>
Wed, 18 Aug 2021 16:15:13 +0000 (00:15 +0800)
commit4cd67ec624ebd6acd0835286cad1a68e8aa77aba
tree99558aa094b495d2cb9bed39df2392913214f1a0
parent49ef56ac2458e4c7ab6a2eb1cebf3465b506e8b4
fix(bcrp): fix bcrp when apply block and detach block (#2081)

* fix(bcrp): fix bcrp when apply block and detach block

* test(bcrp): add bcrp integration test

* refactor(bcrp): code refactoring

* refactor(bcrp): code refactoring

Co-authored-by: Paladz <yzhu101@uottawa.ca>
consensus/bcrp/bcrp.go
consensus/bcrp/bcrp_test.go
protocol/block.go
protocol/state/contract_view.go
test/bcrp_test.go [new file with mode: 0644]
test/bcrp_test_util.go [new file with mode: 0644]
test/block_test_util.go
test/tx_test_util.go