Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Nov 9, 2024
1 parent bb06031 commit 4ce98ac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vms/platformvm/block/executor/verifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
"github.com/ava-labs/avalanchego/vms/platformvm/block"
"github.com/ava-labs/avalanchego/vms/platformvm/config"
"github.com/ava-labs/avalanchego/vms/platformvm/genesis/genesistest"
"github.com/ava-labs/avalanchego/vms/platformvm/metrics"
"github.com/ava-labs/avalanchego/vms/platformvm/state"
"github.com/ava-labs/avalanchego/vms/platformvm/state/statetest"
"github.com/ava-labs/avalanchego/vms/platformvm/status"
Expand Down Expand Up @@ -179,6 +180,11 @@ func TestVerifierVisitProposalBlock(t *testing.T) {

timestamp: initialTimestamp,
verifiedHeights: set.Of[uint64](0),
metrics: metrics.Block{
Block: proposalBlock,
GasPrice: verifier.txExecutorBackend.Config.DynamicFeeConfig.MinPrice,
ValidatorPrice: verifier.txExecutorBackend.Config.ValidatorFeeConfig.MinPrice,
},
},
executedBlockState,
)
Expand Down Expand Up @@ -277,6 +283,11 @@ func TestVerifierVisitAtomicBlock(t *testing.T) {
},
},
verifiedHeights: set.Of[uint64](0),
metrics: metrics.Block{
Block: atomicBlock,
GasPrice: verifier.txExecutorBackend.Config.DynamicFeeConfig.MinPrice,
ValidatorPrice: verifier.txExecutorBackend.Config.ValidatorFeeConfig.MinPrice,
},
},
atomicBlockState,
)
Expand Down Expand Up @@ -406,6 +417,11 @@ func TestVerifierVisitStandardBlock(t *testing.T) {
},
},
verifiedHeights: set.Of[uint64](0),
metrics: metrics.Block{
Block: firstBlock,
GasPrice: verifier.txExecutorBackend.Config.DynamicFeeConfig.MinPrice,
ValidatorPrice: verifier.txExecutorBackend.Config.ValidatorFeeConfig.MinPrice,
},
},
atomicBlockState,
)
Expand Down

0 comments on commit 4ce98ac

Please sign in to comment.