You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears #492 was not entirely resolved in #604 as demonstrated in the error-contract.test.ts script in #660
hedera-local@2.1.3 points to relay 0.10.0 which has #604
Steps to reproduce
(I) On the ErrorContract with stateful function calls(eth_sendRawTransaction/eth_sendTransaction)
In hardhat-example project root run npm run test:hec and observe all 4 tests fail.
In hardhat.config.ts temporarily remove the h_local network to default to the hardhat local node and rerun the above test and observe all 4 tests pass.
(II)#604 seems to only address the issue on eth_call; Demonstrate on the ErrorContract with view/pure function calls(eth_call)
Add pure modifiers to all 4 of ErrorContract's functions
In hardhat-example project root run npm run test:hec and observe only 3/4 tests pass(i.e. the should simply revert test fails)
In hardhat.config.ts temporarily remove the h_local network to default to the hardhat local node and rerun the above test and observe that only 3/4 tests pass(i.e. the should simply revert test fails) just like (II 2.) i.e. when run against the hedera relay.
Additional context
No response
Hedera network
other
Version
@hashgraph/hedera-local@2.1.3
Operating system
macOS
The text was updated successfully, but these errors were encountered:
Description
It appears #492 was not entirely resolved in #604 as demonstrated in the
error-contract.test.ts
script in #660hedera-local@2.1.3
points to relay0.10.0
which has #604Steps to reproduce
(I) On the
ErrorContract
with stateful function calls(eth_sendRawTransaction
/eth_sendTransaction
)npm run test:hec
and observe all 4 tests fail.hardhat.config.ts
temporarily remove theh_local
network to default to the hardhat local node and rerun the above test and observe all 4 tests pass.(II) #604 seems to only address the issue on
eth_call
; Demonstrate on theErrorContract
with view/pure function calls(eth_call
)pure
modifiers to all 4 ofErrorContract
's functionsnpm run test:hec
and observe only 3/4 tests pass(i.e. theshould simply revert
test fails)hardhat.config.ts
temporarily remove theh_local
network to default to the hardhat local node and rerun the above test and observe that only 3/4 tests pass(i.e. theshould simply revert
test fails) just like (II 2.) i.e. when run against the hedera relay.Additional context
No response
Hedera network
other
Version
@hashgraph/hedera-local@2.1.3
Operating system
macOS
The text was updated successfully, but these errors were encountered: