Hiero specific test EVM test suite evm-functional-testing/test/hip-1340/hts.test.js located at present in denys/run-pectra-tests-with-hh branch has the following partially and require minor code to enable checks for eth_getCode and eth_getStorageAt that require Mirror Node and Relay to fully support Pectra update.
Changes needed
One test has TODO to be uncommented and a number of tests are using verifyDelegation() helper that needs to be updated to use similar code documented in TODO
Tests breakdown
Direct TODO re-enable
should return delegation designation to 0x167 when an HTS token is created
- Re-enable:
const code = await provider.getCode(tokenAddress);
expect(code).to.be.equal(designatorFor(HTS_ADDRESS));
Indirectly impacted via verifyDelegation()
should transfer HTS tokens when two EOAs delegate to the same Smart Wallet and send self-sponsored transactions
should batch-transfer HTS tokens to multiple recipients from a delegated EOA via executeBatch
should revert transaction delegated to a system contract (or current renamed equivalent)
should no-op transaction delegated to another EOA/HAS facade
should prioritize HAS proxy over delegated contract methods with the same selectors
should batch-transfer 1 HBAR and 100 HTS tokens from a delegated EOA to another EOA via executeBatch
should batch-transfer 1 HBAR and 100 HTS tokens when recipient associates via delegation
Effort estimate
Overall number of tests to modify: 8
Estimated time to modify and rerun tests: ~0.5 days