Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
e9aece088d
commit
2ad5ab913d
@@ -334,9 +334,6 @@ func TestConsensus_ExtendVote(t *testing.T) {
|
||||
Block: &v1.BlockParams{
|
||||
MaxGas: 5000000,
|
||||
},
|
||||
Abci: &v1.ABCIParams{
|
||||
VoteExtensionsEnableHeight: 2,
|
||||
},
|
||||
Feature: &v1.FeatureParams{
|
||||
VoteExtensionsEnableHeight: &gogotypes.Int64Value{Value: 2},
|
||||
},
|
||||
@@ -376,9 +373,6 @@ func TestConsensus_VerifyVoteExtension(t *testing.T) {
|
||||
Block: &v1.BlockParams{
|
||||
MaxGas: 5000000,
|
||||
},
|
||||
Abci: &v1.ABCIParams{
|
||||
VoteExtensionsEnableHeight: 2,
|
||||
},
|
||||
Feature: &v1.FeatureParams{
|
||||
VoteExtensionsEnableHeight: &gogotypes.Int64Value{Value: 2},
|
||||
},
|
||||
@@ -537,6 +531,7 @@ func TestConsensus_ProcessProposal_With_Handler(t *testing.T) {
|
||||
Height: 1,
|
||||
Txs: [][]byte{mockTx.Bytes(), append(mockTx.Bytes(), []byte("bad")...), mockTx.Bytes(), mockTx.Bytes()},
|
||||
})
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, res.Status, abciproto.PROCESS_PROPOSAL_STATUS_REJECT)
|
||||
}
|
||||
|
||||
@@ -642,9 +637,6 @@ func setUpConsensus(t *testing.T, gasLimit uint64, mempool mempool.Mempool[mock.
|
||||
Block: &v1.BlockParams{
|
||||
MaxGas: 300000,
|
||||
},
|
||||
Abci: &v1.ABCIParams{
|
||||
VoteExtensionsEnableHeight: 2,
|
||||
},
|
||||
Feature: &v1.FeatureParams{
|
||||
VoteExtensionsEnableHeight: &gogotypes.Int64Value{Value: 2},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user