Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

fix(tests): fix workflow errors #440

Merged
merged 8 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/tx_list_validator/tx_list_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestIsTxListValid(t *testing.T) {
{
"txListBytes not decodable to rlp",
chainID,
randBytes(1),
randBytes(0),
HintNone,
0,
},
Expand Down
3 changes: 3 additions & 0 deletions proposer/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (s *ProposerTestSuite) TestNewConfigFromCliContext() {
s.Equal(uint64(tierFee), c.OptimisticTierFee.Uint64())
s.Equal(uint64(tierFee), c.SgxTierFee.Uint64())
s.Equal(uint64(tierFee), c.PseZkevmTierFee.Uint64())
s.Equal(uint64(tierFee), c.SgxAndPseZkevmTierFee.Uint64())
s.Equal(uint64(15), c.TierFeePriceBump.Uint64())
s.Equal(uint64(5), c.MaxTierFeePriceBumps)

Expand Down Expand Up @@ -82,6 +83,7 @@ func (s *ProposerTestSuite) TestNewConfigFromCliContext() {
"--" + flags.OptimisticTierFee.Name, fmt.Sprint(tierFee),
"--" + flags.SgxTierFee.Name, fmt.Sprint(tierFee),
"--" + flags.PseZkevmTierFee.Name, fmt.Sprint(tierFee),
"--" + flags.SgxAndPseZkevmTierFee.Name, fmt.Sprint(tierFee),
"--" + flags.TierFeePriceBump.Name, "15",
"--" + flags.MaxTierFeePriceBumps.Name, "5",
}))
Expand Down Expand Up @@ -146,6 +148,7 @@ func (s *ProposerTestSuite) SetupApp() *cli.App {
&cli.Uint64Flag{Name: flags.OptimisticTierFee.Name},
&cli.Uint64Flag{Name: flags.SgxTierFee.Name},
&cli.Uint64Flag{Name: flags.PseZkevmTierFee.Name},
&cli.Uint64Flag{Name: flags.SgxAndPseZkevmTierFee.Name},
&cli.Uint64Flag{Name: flags.ProposeBlockTxReplacementMultiplier.Name},
&cli.DurationFlag{Name: flags.RPCTimeout.Name},
&cli.DurationFlag{Name: flags.WaitReceiptTimeout.Name},
Expand Down