Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason committed Sep 20, 2023
1 parent 0816987 commit 267a580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/api/src/jsonrpc/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub enum RpcError {
GasPriceIsZero,
#[display(fmt = "Gas price is too large")]
GasPriceIsTooLarge,
#[display(fmt = "Gas limit is too low")]
#[display(fmt = "Gas limit is less than 21000")]
GasLimitIsTooLow,
#[display(fmt = "Gas limit is too large")]
GasLimitIsTooLarge,
Expand All @@ -45,7 +45,7 @@ pub enum RpcError {
InvalidNewestBlock(BlockId),
#[display(fmt = "Invalid position {}", _0)]
InvalidPosition(u64),
#[display(fmt = "Cannot find block")]
#[display(fmt = "Cannot find the block")]
CannotFindBlock,
#[display(fmt = "Invalid reward percentiles {} {}", _0, _1)]
InvalidRewardPercentiles(f64, f64),
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/src/eth_getStorageAt.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("eth_getStorageAt", () => {
await param1.type(testDataInfo.contractAddress);
await param2.type("0x02");
await param3.type("0xffffffffff");
await goto.check(page, "Can't find this block");
await goto.check(page, "Cannot find the block");
});

/**
Expand Down

0 comments on commit 267a580

Please sign in to comment.