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

evm_increaseTime does not follow ETH-RPC conventions #118

Closed
thomaseizinger opened this issue May 30, 2018 · 0 comments
Closed

evm_increaseTime does not follow ETH-RPC conventions #118

thomaseizinger opened this issue May 30, 2018 · 0 comments
Milestone

Comments

@thomaseizinger
Copy link

Expected Behavior

evm_increaseTime takes HEX-encoded input as per convention of the ETH-RPC API: https://github.com/ethereum/wiki/wiki/JSON-RPC#hex-value-encoding

Current Behavior

evm_increaseTime takes an integer.

curl -X POST \
  http://localhost:7545 \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 03c3b093-c447-4698-8b23-371da88e0dd3' \
  -d '{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "evm_increaseTime",
    "params": [
      100000
  ]
}'
@balexander4 balexander4 self-assigned this Jan 23, 2019
@davidmurdoch davidmurdoch added this to the 3.0.0 milestone Oct 23, 2020
@tcoulter tcoulter closed this as completed Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants