Aptos - Update node to v1.27.1 and increase funding amount #1657
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
to10_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
:path/filepath
andgithub.com/smartcontractkit/chainlink-testing-framework/framework
packages were reordered to follow Go conventions.aptoslabs/tools:aptos-node-v1.18.0
toaptoslabs/tools:aptos-node-v1.27.1
, ensuring compatibility with newer Aptos node features and improvements.fundCmd
command array by adding--amount
and1000000000000
to specify the funding amount when setting up the test blockchain environment, providing tests with a specific initial balance.