Skip to content

Conversation

@mokita-j
Copy link
Contributor

Hardhat RPC time/gas helpers now accept plain JSON integers, eliminating the Invalid params errors when interacting via Hardhat.
Previously, these endpoints only accepted hex strings, so any integer input caused hardhat tests to fail.
This impacts all hardhat tests in scc-testing using the following helper functions:

  • evm_mine
  • evm_increaseTime
  • evm_setNextBlockTimestamp
  • evm_setBlockGasLimit

@mokita-j mokita-j requested a review from bee344 November 18, 2025 11:51
Some tests from dragonswap-farming send requests with a 0-second time increase, which is allowed by other implementations.
'param seconds — Number of seconds to jump forward in time. Must be greater than or equal to 0.'
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/19468280674
Failed job name: test-linux-stable

@mokita-j mokita-j merged commit 27553a6 into anp-dirty-node-v2 Nov 20, 2025
80 of 207 checks passed
@mokita-j mokita-j deleted the mj/anp-dirty-node-v2 branch November 20, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants