Skip to content

Conversation

@RodrigoVillar
Copy link
Contributor

@RodrigoVillar RodrigoVillar commented Jan 9, 2026

Why this should be merged

With ava-labs/avalanchego#4761, invocation of the reexecution test underwent a major refactor. Running the current bootstrap script against the latest version of AvalancheGo results in an error.

How this works

Updates bootstrapping script to use the new invocation of the reexecution test.

How this was tested

Ran ./aws-launch.sh --firewood-branch main --avalanchego-branch master --libevm-branch b8e76562a300 --nblocks 1m and observed a successful reexecution test.

@RodrigoVillar RodrigoVillar self-assigned this Jan 9, 2026
@RodrigoVillar RodrigoVillar marked this pull request as ready for review January 9, 2026 17:18
@RodrigoVillar RodrigoVillar enabled auto-merge (squash) January 9, 2026 17:24
- >
sudo -u ubuntu -D /mnt/nvme/ubuntu/avalanchego --login
time METRICS_SERVER_ENABLED=__METRICS_SERVER__ task reexecute-cchain-range CURRENT_STATE_DIR=/mnt/nvme/ubuntu/exec-data/current-state BLOCK_DIR=/mnt/nvme/ubuntu/exec-data/blocks START_BLOCK=1 END_BLOCK=__END_BLOCK__ CONFIG=__CONFIG__
METRICS_SERVER_ENABLED=__METRICS_SERVER__ CURRENT_STATE_DIR=/mnt/nvme/ubuntu/exec-data/current-state BLOCK_DIR=/mnt/nvme/ubuntu/exec-data/blocks START_BLOCK=1 END_BLOCK=__END_BLOCK__ CONFIG=__CONFIG__ time task test-cchain-reexecution
Copy link
Contributor

Choose a reason for hiding this comment

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

time needs to be first. it's similar to env; it is a command built into the shell and has different semantics than when invoking a normal command.

Suggested change
METRICS_SERVER_ENABLED=__METRICS_SERVER__ CURRENT_STATE_DIR=/mnt/nvme/ubuntu/exec-data/current-state BLOCK_DIR=/mnt/nvme/ubuntu/exec-data/blocks START_BLOCK=1 END_BLOCK=__END_BLOCK__ CONFIG=__CONFIG__ time task test-cchain-reexecution
time METRICS_SERVER_ENABLED=__METRICS_SERVER__ CURRENT_STATE_DIR=/mnt/nvme/ubuntu/exec-data/current-state BLOCK_DIR=/mnt/nvme/ubuntu/exec-data/blocks START_BLOCK=1 END_BLOCK=__END_BLOCK__ CONFIG=__CONFIG__ task test-cchain-reexecution

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good call - done: fd75175

@RodrigoVillar RodrigoVillar merged commit 1ef907e into main Jan 9, 2026
45 checks passed
@RodrigoVillar RodrigoVillar deleted the rodrigo/update-bootstrap-script-with-new-task branch January 9, 2026 18:19
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.

3 participants