problem: chainId is not a string

rel: #22
This commit is contained in:
Igor Artamonov
2020-07-02 21:58:42 -04:00
parent a7fb805a03
commit fd070d5df4
2 changed files with 7 additions and 7 deletions

View File

@@ -19,8 +19,8 @@ class DefaultEthereumMethodsSpec extends Specification {
new String(new DefaultEthereumMethods(chain).executeHardcoded("eth_chainId")) == id
where:
chain | id
Chain.ETHEREUM | "0x0"
Chain.ETHEREUM_CLASSIC | "0x3d"
Chain.TESTNET_KOVAN | "0x2a"
Chain.ETHEREUM | '"0x0"'
Chain.ETHEREUM_CLASSIC | '"0x3d"'
Chain.TESTNET_KOVAN | '"0x2a"'
}
}