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.1 and increase funding amount #1657

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

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 updates to the Aptos blockchain component in the test framework improve compatibility with newer versions of the Aptos node and enhance the test setup's flexibility. The change in the Docker image version ensures tests run against a more current version of the Aptos node, reflecting a more up-to-date test environment. Additionally, specifying the amount during the faucet funding operation gives more control over the test accounts' initial balance, allowing for a broader range of tests.

What

  • framework/components/blockchain/aptos.go:
    • Imported path/filepath and github.com/smartcontractkit/chainlink-testing-framework/framework packages were reordered to follow Go conventions.
    • Updated the default Aptos node Docker image from aptoslabs/tools:aptos-node-v1.18.0 to aptoslabs/tools:aptos-node-v1.27.1, ensuring compatibility with newer Aptos node features and improvements.
    • Modified the fundCmd command array by adding --amount and 1000000000000 to specify the funding amount when setting up the test blockchain environment, providing tests with a specific initial balance.

@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
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.

1 participant