diff --git a/core/api/src/jsonrpc/error.rs b/core/api/src/jsonrpc/error.rs index e450d0c71..3ac820882 100644 --- a/core/api/src/jsonrpc/error.rs +++ b/core/api/src/jsonrpc/error.rs @@ -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, @@ -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), diff --git a/tests/e2e/src/eth_getStorageAt.test.js b/tests/e2e/src/eth_getStorageAt.test.js index 94439ab05..6a4c79343 100644 --- a/tests/e2e/src/eth_getStorageAt.test.js +++ b/tests/e2e/src/eth_getStorageAt.test.js @@ -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"); }); /**