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

Commit

Permalink
fix(tests): fix workflow errors (#440)
Browse files Browse the repository at this point in the history
Co-authored-by: David <david@taiko.xyz>
  • Loading branch information
RogerLamTd and davidtaikocha authored Nov 4, 2023
1 parent ddf6980 commit 8b3cef2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
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

0 comments on commit 8b3cef2

Please sign in to comment.