hedera-mirror-node
hedera-mirror-node copied to clipboard
Historical getTokenKey acceptance test fails
Description
The getTokenKey historical acceptance test fails when ran on previewnet
Steps to reproduce
./gradlew :test:acceptance --info -Dcucumber.filter.tags=@acceptance
Additional context
2024-02-06T20:04:41.629Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/transactions/0.0.35828-1707249877-436000000: 200 OK
2024-02-06T20:04:41.700Z INFO reactor-http-epoll-2 c.h.m.t.e.a.c.MirrorNodeClient POST http://mirror-web3/api/v1/contracts/call: 200 OK
2024-02-06T20:04:43.637Z INFO ForkJoinPool-1-worker-3 c.h.m.t.e.a.c.TokenClient Granted KYC for account 0.0.35847 with token 0.0.35877 via [email protected]
2024-02-06T20:04:44.897Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/transactions/0.0.35828-1707249881-701000000: 200 OK
2024-02-06T20:04:44.898Z INFO ForkJoinPool-1-worker-3 c.h.m.t.e.a.s.HistoricalFeature Executing step: I update the token and account keys for "FUNGIBLEHISTORICAL"
2024-02-06T20:04:50.847Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/transactions/0.0.35828-1707249884-950000000: 200 OK
2024-02-06T20:04:50.849Z INFO ForkJoinPool-1-worker-3 c.h.m.t.e.a.s.HistoricalFeature Executing step: I update the token and account keys for "NFTHISTORICAL"
2024-02-06T20:04:56.412Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/transactions/0.0.35828-1707249890-900000000: 200 OK
2024-02-06T20:04:56.413Z INFO ForkJoinPool-1-worker-3 c.h.m.t.e.a.s.HistoricalFeature Executing step: I verify historical data for "FUNGIBLEHISTORICAL" is returned for getTokenKey
2024-02-06T20:04:56.425Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/blocks: 200 OK
2024-02-06T20:04:56.469Z INFO reactor-http-epoll-4 c.h.m.t.e.a.c.MirrorNodeClient POST http://mirror-web3/api/v1/contracts/call: 200 OK
2024-02-06T20:04:56.519Z INFO reactor-http-epoll-2 c.h.m.t.e.a.c.MirrorNodeClient POST http://mirror-web3/api/v1/contracts/call: 200 OK
2024-02-06T20:04:56.544Z INFO reactor-http-epoll-4 c.h.m.t.e.a.c.MirrorNodeClient POST http://mirror-web3/api/v1/contracts/call: 200 OK
2024-02-06T20:04:56.571Z INFO reactor-http-epoll-2 c.h.m.t.e.a.c.MirrorNodeClient POST http://mirror-web3/api/v1/contracts/call: 200 OK
2024-02-06T20:04:56.598Z INFO reactor-http-epoll-4 c.h.m.t.e.a.c.MirrorNodeClient POST http://mirror-web3/api/v1/contracts/call: 200 OK
2024-02-06T20:04:56.611Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/blocks: 200 OK
2024-02-06T20:04:56.872Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/blocks: 200 OK
2024-02-06T20:04:57.135Z INFO reactor-http-epoll-1 c.h.m.t.e.a.c.MirrorNodeClient GET http://mirror-rest/api/v1/blocks: 200 OK
2024-02-06T20:04:59.137Z ERROR ForkJoinPool-1-worker-3 c.h.m.t.e.a.s.HistoricalFeature Scenario failure:
I successfully create estimateGas contract
I successfully create erc contract
I successfully create precompile contract
I create admin and receiver accounts
I successfully create estimate precompile contract
the mirror node REST API should return status 200 for the contracts creation
I verify the estimate precompile contract bytecode is deployed
I create fungible and non-fungible token
I successfully update the contract storage and get the initial value via historical data
I successfully update the balance of an account and get the initial balance via historical data
I verify that historical data for negative block returns bad request
I verify that historical data for unknown block returns bad request
I verify that historical data for "safe" block is treated as latest
I verify that historical data for "pending" block is treated as latest
I verify that historical data for "finalized" block is treated as latest
I verify the response from non existing account
I verify historical data for "FUNGIBLEHISTORICAL" is returned for get token operations
I verify historical data for "NFTHISTORICAL" is returned for get token operations
I verify historical data for "FUNGIBLEHISTORICAL" in invalid block returns bad request
I verify historical data for "NFTHISTORICAL" in invalid block returns bad request
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via getTokenInfo
I verify that historical data for "NFTHISTORICAL" is returned via getTokenInfo
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via getTokenInfo when doing mint
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via getTokenInfo when doing burn
I mint new nft for "NFTHISTORICAL"
I associate "NFTHISTORICAL"
I associate "FUNGIBLEHISTORICAL"
I grant KYC to "FUNGIBLEHISTORICAL" to receiver account
I grant KYC to "NFTHISTORICAL" to receiver account
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via balanceOf
I verify that historical data for "NFTHISTORICAL" is returned via balanceOf
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via balanceOf by direct call
I verify that historical data for "NFTHISTORICAL" is returned via balanceOf by direct call
I mint new nft for "NFTHISTORICAL"
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via balanceOf when doing burn
I verify that historical data for "NFTHISTORICAL" is returned via balanceOf when doing burn
I verify that historical data for "FUNGIBLEHISTORICAL" is returned via balanceOf when doing wipe
I verify that historical data for "NFTHISTORICAL" is returned via balanceOf when doing wipe
I verify historical data for "FUNGIBLEHISTORICAL" is returned for allowance
I verify historical data for "NFTHISTORICAL" is returned for getApproved
I verify historical data for "FUNGIBLEHISTORICAL" is returned for ERC allowance
I verify historical data for "NFTHISTORICAL" is returned for ERC getApproved
I verify historical data for "FUNGIBLEHISTORICAL" is returned for allowance by direct call
I verify historical data for "NFTHISTORICAL" is returned for getApproved direct call
I verify historical data for "NFTHISTORICAL" is returned for isApprovedForAll
I verify historical data for "NFTHISTORICAL" is returned for ownerOf
I verify historical data for "FUNGIBLEHISTORICAL" is returned for isFrozen
I verify historical data for "NFTHISTORICAL" is returned for isFrozen
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "update"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "burn"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "mint"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "wipe"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "mint" and transfer to "treasury"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "burn" and transfer to "treasury"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "mint" and transfer to "receiver"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "burn" and transfer to "receiver"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getFungibleTokenInfo when doing "burn" and transfer to "secondReceiver"
I verify historical data for "NFTHISTORICAL" is returned for getNonFungibleInfo when doing "mint"
I verify historical data for "NFTHISTORICAL" is returned for getNonFungibleInfo when doing "burn"
I verify historical data for "NFTHISTORICAL" is returned for getNonFungibleInfo when doing "wipe"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for isKyc
I verify historical data for "NFTHISTORICAL" is returned for isKyc
I update the token and account keys for "FUNGIBLEHISTORICAL"
I update the token and account keys for "NFTHISTORICAL"
I verify historical data for "FUNGIBLEHISTORICAL" is returned for getTokenKey <- Transaction was unsuccessful: TransactionReceipt{[email protected], status=CONTRACT_REVERT_EXECUTED, exchangeRate=ExchangeRate{hbars=1, cents=12, expirationTime=2100-01-01T00:00:00Z, exchangeRateInCents=12.0}, accountId=null, fileId=null, contractId=0.0.35867, topicId=null, tokenId=null, topicSequenceNumber=null, topicRunningHash=null, totalSupply=0, scheduleId=null, scheduledTransactionId=null, serials=[], duplicates=[], children=[]}
I verify historical data for "NFTHISTORICAL" is returned for getTokenKey
com.hedera.mirror.test.e2e.acceptance.client.NetworkException: Transaction was unsuccessful: TransactionReceipt{[email protected], status=CONTRACT_REVERT_EXECUTED, exchangeRate=ExchangeRate{hbars=1, cents=12, expirationTime=2100-01-01T00:00:00Z, exchangeRateInCents=12.0}, accountId=null, fileId=null, contractId=0.0.35867, topicId=null, tokenId=null, topicSequenceNumber=null, topicRunningHash=null, totalSupply=0, scheduleId=null, scheduledTransactionId=null, serials=[], duplicates=[], children=[]}
at com.hedera.mirror.test.e2e.acceptance.client.AbstractNetworkClient.getTransactionReceipt(AbstractNetworkClient.java:164)
at com.hedera.mirror.test.e2e.acceptance.client.AbstractNetworkClient.executeTransactionAndRetrieveReceipt(AbstractNetworkClient.java:135)
at com.hedera.mirror.test.e2e.acceptance.client.AbstractNetworkClient.executeTransactionAndRetrieveReceipt(AbstractNetworkClient.java:152)
at com.hedera.mirror.test.e2e.acceptance.client.ContractClient.executeContract(ContractClient.java:168)
at com.hedera.mirror.test.e2e.acceptance.steps.HistoricalFeature.getHistoricalDataForGetTokenKey(HistoricalFeature.java:751)
at ✽.I verify historical data for "FUNGIBLEHISTORICAL" is returned for getTokenKey(classpath:features/contract/historical.feature:72)
Hedera network
previewnet
Version
v0.98.0-rc1
Operating system
None