Repository: 33cn/plugin
Pull request #1000 (2021-06-01 07:17:07)

update chain33
rt

codecov[bot]: # [Codecov](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) Report
> Merging [#1000](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (40ae394) into [master](https://codecov.io/gh/33cn/plugin/commit/9db49dec1cca4172a7a295cc81162cd361af11d0?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (9db49de) will **decrease** coverage by `0.07%`.
> The diff coverage is `n/a`.

> :exclamation: Current head 40ae394 differs from pull request most recent head db1f146. Consider uploading reports for the commit db1f146 to get more accurate results
[![Impacted file tree graph](https://codecov.io/gh/33cn/plugin/pull/1000/graphs/tree.svg?width=650&height=150&src=pr&token=EwYhDbvpC8&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

```diff
@@            Coverage Diff             @@
##           master    #1000      +/-   ##
==========================================
- Coverage   61.09%   61.02%   -0.08%     
==========================================
  Files         190      190              
  Lines       26730    26730              
==========================================
- Hits        16331    16311      -20     
- Misses       8580     8594      +14     
- Partials     1819     1825       +6     
```


| [Impacted Files](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | |
|---|---|---|
| [plugin/p2p/gossip/peer.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL3AycC9nb3NzaXAvcGVlci5nbw==) | `53.76% <0.00%> (-2.52%)` | :arrow_down: |
| [plugin/consensus/dpos/consensus\_state.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL2NvbnNlbnN1cy9kcG9zL2NvbnNlbnN1c19zdGF0ZS5nbw==) | `39.88% <0.00%> (-1.90%)` | :arrow_down: |
| [plugin/consensus/qbft/node.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL2NvbnNlbnN1cy9xYmZ0L25vZGUuZ28=) | `66.03% <0.00%> (-0.63%)` | :arrow_down: |
| [plugin/consensus/dpos/state\_machine.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL2NvbnNlbnN1cy9kcG9zL3N0YXRlX21hY2hpbmUuZ28=) | `43.63% <0.00%> (-0.46%)` | :arrow_down: |
| [plugin/consensus/qbft/consensus\_state.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL2NvbnNlbnN1cy9xYmZ0L2NvbnNlbnN1c19zdGF0ZS5nbw==) | `58.68% <0.00%> (-0.32%)` | :arrow_down: |
| [plugin/p2p/gossip/p2pserver.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL3AycC9nb3NzaXAvcDJwc2VydmVyLmdv) | `47.35% <0.00%> (ø)` | |
| [plugin/consensus/raft/httpapi.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL2NvbnNlbnN1cy9yYWZ0L2h0dHBhcGkuZ28=) | `23.40% <0.00%> (ø)` | |
| [plugin/consensus/qbft/peer\_set.go](https://codecov.io/gh/33cn/plugin/pull/1000/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGx1Z2luL2NvbnNlbnN1cy9xYmZ0L3BlZXJfc2V0Lmdv) | `62.59% <0.00%> (+0.26%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Last update [9db49de...db1f146](https://codecov.io/gh/33cn/plugin/pull/1000?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None).


Patch:
diff --git a/Makefile b/Makefile
index 02f297b03..f0e9f2ab2 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ build: depends
 
 
 build_ci: depends ## Build the binary file for CI
-	@go build -v -i -o $(CLI) $(SRC_CLI)
+	@go build -v -o $(CLI) $(SRC_CLI)
 	@go build $(BUILD_FLAGS) -v -o $(APP)
 	@cp chain33.toml build/
 	@cp chain33.para.toml build/ci/paracross/
diff --git a/go.mod b/go.mod
index 80ad01fd7..ec7652452 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module github.com/33cn/plugin
 go 1.12
 
 require (
-	github.com/33cn/chain33 v1.65.3-0.20210521095500-29e0245a34c8
+	github.com/33cn/chain33 v1.65.3-0.20210531134356-4c13d6d9f840
 	github.com/BurntSushi/toml v0.3.1
 	github.com/NebulousLabs/Sia v1.3.7
 	github.com/NebulousLabs/errors v0.0.0-20181203160057-9f787ce8f69e // indirect
diff --git a/go.sum b/go.sum
index cf4ad0abd..ee4c22875 100644
--- a/go.sum
+++ b/go.sum
@@ -1,6 +1,8 @@
 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
 github.com/33cn/chain33 v1.65.3-0.20210521095500-29e0245a34c8 h1:QI4uvdfPZd72EWE0uklNNADrtkAPV0wze9UcvwAwejo=
 github.com/33cn/chain33 v1.65.3-0.20210521095500-29e0245a34c8/go.mod h1:U4tClxZveHCXNZklNuvKP51kwuuStpBvRPXmmu0iW2k=
+github.com/33cn/chain33 v1.65.3-0.20210531134356-4c13d6d9f840 h1:7BrrzxDTQW/xYutTpI894kJ6YWqJRIBQ29iC0wM8z7c=
+github.com/33cn/chain33 v1.65.3-0.20210531134356-4c13d6d9f840/go.mod h1:U4tClxZveHCXNZklNuvKP51kwuuStpBvRPXmmu0iW2k=
 github.com/AndreasBriese/bbloom v0.0.0-20180913140656-343706a395b7/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8=
 github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9 h1:HD8gA2tkByhMAwYaFAX9w2l7vxvBQ5NMoxDrkhqhtn4=
 github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8=


Test patch:
diff --git a/plugin/dapp/paracross/testnode/cfg.go b/plugin/dapp/paracross/testnode/cfg.go
index 847ccc41f..fa4e5f149 100644
--- a/plugin/dapp/paracross/testnode/cfg.go
+++ b/plugin/dapp/paracross/testnode/cfg.go
@@ -4,6 +4,7 @@ package testnode
 var DefaultConfig = `
 Title="user.p.test."
 CoinSymbol="bty"
+ChainID=33
 # TestNet=true
 
 [crypto]