Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ApproveAllowanceSuite tests #9649

Merged
merged 11 commits into from
Nov 10, 2023
Merged

Conversation

thenswan
Copy link
Contributor

@thenswan thenswan commented Nov 3, 2023

Description:
Fix ApproveAllowanceSuite tests

Related issue(s):
Fixes #9357

MiroslavGatsanoga and others added 7 commits November 1, 2023 18:39
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
# Conflicts:
#	hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/exec/systemcontracts/hts/AbstractNonRevertibleTokenViewCall.java
Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
Copy link

github-actions bot commented Nov 3, 2023

Node: Unit Test Results

    2 276 files  ±0      2 276 suites  ±0   1h 25m 36s ⏱️ +42s
118 378 tests +6  118 344 ✔️ +6  34 💤 ±0  0 ±0 
126 639 runs  +6  126 605 ✔️ +6  34 💤 ±0  0 ±0 

Results for commit 894c7bb. ± Comparison against base commit 2f890ea.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 3, 2023

Node: E2E Test Results

    1 files  ±    0      1 suites  ±0   21m 18s ⏱️ + 21m 18s
310 tests +309  310 ✔️ +310  0 💤 ±0  0  - 1 
332 runs  +331  332 ✔️ +332  0 💤 ±0  0  - 1 

Results for commit 894c7bb. ± Comparison against base commit 2f890ea.

This pull request removes 1 and adds 310 tests. Note that renamed tests count towards both.
EndToEndTests ‑ initializationError
EndToEndTests ‑ ADDRESS_BOOK_CONTROLCanUpdateADDRESS_BOOK
EndToEndTests ‑ ADDRESS_BOOK_CONTROLCanUpdateNODE_DETAILS
EndToEndTests ‑ AccountsGetPayerRecordsIfSoConfigured
EndToEndTests ‑ Acct57CanMakeSmallChanges
EndToEndTests ‑ Acct57CantMakeLargeChanges
EndToEndTests ‑ AddingSignaturesToExecutedTxFails
EndToEndTests ‑ AddingSignaturesToExecutedTxFailsWithLongTermEnabled
EndToEndTests ‑ AddingSignaturesToNonExistingTxFails
EndToEndTests ‑ AddingSignaturesToNonExistingTxFailsWithLongTermEnabled
EndToEndTests ‑ AddressAliasIdFuzzing
…

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 3, 2023

Node: Integration Test Results

280 tests  ±0   280 ✔️ ±0   28m 42s ⏱️ +32s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit 894c7bb. ± Comparison against base commit 2f890ea.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 3, 2023

Node: HAPI Test Results

1 246 tests  ±0   859 ✔️ +6   1h 20m 19s ⏱️ - 1m 12s
   166 suites ±0   387 💤  - 6 
   166 files   ±0       0 ±0 

Results for commit 894c7bb. ± Comparison against base commit 2f890ea.

♻️ This comment has been updated with latest results.

Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
@MiroslavGatsanoga MiroslavGatsanoga added the Limechain Work planned for the LimeChain team label Nov 8, 2023
Copy link
Collaborator

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall great work! 🙌

Two items:

  1. (Blocking) We need to re-create EncodingFacade utilities in contract-service-impl so we don't have lingering dependencies on mono-service.
  2. (Nice-to-have) Can we add to the HtsCall interface a default method,
    default PricedResult execute(MessageFrame frame) {
       return execute(); 
    }

so this PR doesn't have to change all the files for HtsCall implementations that don't actually need the MessageFrame?

# Conflicts:
#	hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/exec/systemcontracts/hts/AbstractRevertibleTokenViewCall.java
…d a default method to the HtsCall interface; reverted changes in unit tests

Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
@thenswan
Copy link
Contributor Author

thenswan commented Nov 9, 2023

Hey @tinker-michaelj, I've addressed your points 🙂

Copy link
Collaborator

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, tyvm @thenswan 🙌

@thenswan thenswan merged commit 790bc47 into develop Nov 10, 2023
14 of 15 checks passed
@thenswan thenswan deleted the 09357-fix-approve-allowance-tests branch November 10, 2023 07:03
ilko-iliev-lime pushed a commit that referenced this pull request Nov 10, 2023
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
Co-authored-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Co-authored-by: Michael Tinker <michael.tinker@swirldslabs.com>
nickpoorman pushed a commit that referenced this pull request Nov 22, 2023
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
Co-authored-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Co-authored-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Nick Poorman <nick@swirldslabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Limechain Work planned for the LimeChain team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix ApproveAllowanceSuite tests
3 participants