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

Aptos - Update node to v1.27.2 and increase funding amount #1657

Merged
merged 6 commits into from
Mar 20, 2025

Conversation

friedemannf
Copy link
Member

@friedemannf friedemannf commented Feb 25, 2025

Aptos v1.25.1 introduced a significant optimization for vector operations in AIP-105 that we're relying on for CCIP. Updating the version of the local node to the latest available version here.
Also, increasing the funding amount from the default 10 APT to 10_000 APT.


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes improve the Aptos blockchain component by updating the node version and specifying a funding amount for account initialization. This ensures the test environment is using a more recent node version for better compatibility and performance. Additionally, defining a specific fund amount enhances testing consistency by providing a predictable state for transactions and account balances.

What

  • framework/components/blockchain/aptos.go
    • Updated the default Aptos node image from aptoslabs/tools:aptos-node-v1.18.0 to aptoslabs/tools:aptos-node-v1.27.2. This update ensures that the latest features and fixes of the Aptos node are available for the testing environment.
    • Added --amount 1000000000000 to the fundCmd slice. This explicitly sets the funding amount when initializing an account with faucet funds, ensuring sufficient resources for transaction testing.

@friedemannf friedemannf changed the title Aptos Localnet - Update node version and increase funding amount Aptos - Update node to v1.27.1 and increase funding amount Feb 25, 2025
@cl-sonarqube-production
Copy link

@friedemannf friedemannf marked this pull request as ready for review February 27, 2025 10:50
@friedemannf friedemannf requested a review from a team as a code owner February 27, 2025 10:50
@friedemannf friedemannf marked this pull request as draft February 27, 2025 11:23
@friedemannf friedemannf marked this pull request as ready for review March 20, 2025 17:45
@friedemannf friedemannf changed the title Aptos - Update node to v1.27.1 and increase funding amount Aptos - Update node to v1.27.2 and increase funding amount Mar 20, 2025
@friedemannf friedemannf merged commit 648be80 into main Mar 20, 2025
57 checks passed
@friedemannf friedemannf deleted the aptos-version branch March 20, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants