-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hbar and token transfer tests (#10152)
This Pr fixes cryptoTransferHbars, cryptoTransferToken and cryptoTransferHbarsAndToken test in ContractCallServicePrecompileModificationTest. Those test were failing in the opcode assertion calls. In the opcode flow we are always having a timestamp in the request. So even if the timestamp is pretty similar to the latest case token balance and account balance are calculated with the historical queries. This PR adds the token and account balance setup for opcode flow. Having the blueprint of the token and account balance, now we can fix other opcode test failure which are failing with insufficient payer or token balance. This PR modifies ... in order to support ... ContractCallServicePrecompileModificationTest - add token and account balance setup for transfer tests --------- Signed-off-by: Kristiyan Selveliev <[email protected]>
- Loading branch information
1 parent
90540c5
commit 0a8166b
Showing
2 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters