Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
5f25b27
Update Docker images (#14565)
github-actions[bot] Sep 9, 2024
e773409
[Prover] Bitwise operation in aborts_if condition (#14552)
rahxephon89 Sep 9, 2024
bc6fbd7
Large Package Publishing module with CLI command options (--chunked-p…
0xjunha Sep 9, 2024
862cc33
Reduce frequency of calls to calculate remaining txns in proof queue …
vusirikala Sep 9, 2024
47647ef
Allow specifying the bucket for replay verify
sionescu Sep 9, 2024
f7ec471
[replay-verify] update ranges (#14548)
sausagee Sep 10, 2024
0b47a5a
fix that DB::open_readonly not using the same cf options (#14572)
msmouse Sep 10, 2024
afd3706
[doc] support enum in docgen (#14562)
rahxephon89 Sep 10, 2024
1df8d67
temp (#14416)
rahxephon89 Sep 10, 2024
d81c6e9
[compiler-v2][lint] Needless ref deref pairs (#14581)
vineethk Sep 10, 2024
c4cc18f
Update the read me for indexer testing framework (#14549)
larry-aptos Sep 10, 2024
0bff36a
Add counters in proof queue to measure garbage collection (#14532)
vusirikala Sep 10, 2024
847eed2
[mempool] improve parking lot eviction (#14586)
bchocho Sep 10, 2024
5396815
Add support for a test federated oidc provider (#14580)
heliuchuan Sep 11, 2024
33a7281
[GHA] Apply input defaults to scheduled runs too
sionescu Sep 11, 2024
361fcbd
bump runs-on image to latest version (#14596)
aluon Sep 11, 2024
31ae1f0
calibrate forge (#14597)
igor-aptos Sep 11, 2024
1365a99
[framework] Fungible Asset - Mutable Metadata - Max length checks (#1…
Alexzander-Stone Sep 11, 2024
4085279
fix replay-verify: add quotes
msmouse Sep 11, 2024
da106a1
Have CoinInfo rust resources clarify their types (#14479)
igor-aptos Sep 11, 2024
8c451b6
test prologue speculation (#14575)
igor-aptos Sep 12, 2024
63a3dea
[compiler-v2][lint] Extend the needless ref in field access lint chec…
vineethk Sep 12, 2024
dbea420
[config] indexer grpc sanitizer prompts table_info_service_mode (#14613)
rustielin Sep 12, 2024
a6b2ecc
Add an entry function to update the federated jwkset (#14579)
heliuchuan Sep 12, 2024
d9524a6
[indexer][testing] Change to facilitate indexer localnode access. (#1…
larry-aptos Sep 12, 2024
dd5fd6f
Update base image for forge tests to v1.19.1 (#14617)
grao1991 Sep 12, 2024
b7e0656
[Compiler-v2] Fix bugs in index notation for vector type (#14609)
rahxephon89 Sep 12, 2024
84c33d9
add e2e move test for federated keyless (#14585)
alinush Sep 13, 2024
9f74f35
[testing] Report unit test results to trunk.io
perryjrandall Sep 12, 2024
7e3308e
Create centralized config and transaction importer. (#14551)
larry-aptos Sep 13, 2024
5e295de
[Fix] Also enable event internal indexer on validator in forge. (#14534)
grao1991 Sep 13, 2024
f356699
[Bugfix] [Compiler-V2] Fix a bug in control flow simplification (#14536)
fEst1ck Sep 13, 2024
6f4b4fa
[compiler-v2] Make flush writes optimization a default optimization (…
vineethk Sep 13, 2024
c5166de
fed keyless smoke tests (#14359)
zjma Sep 14, 2024
574fa48
cleanup info logs (#14555)
igor-aptos Sep 15, 2024
bb012f6
cleanup warn logs (#14614)
igor-aptos Sep 16, 2024
f76560e
remove backtrace from common warn logs (#14622)
igor-aptos Sep 16, 2024
4dd94c6
[cli] Release 4.2.0 (#14653)
gregnazario Sep 17, 2024
8b4d7e2
add a field for internal indexer version
areshand Sep 13, 2024
45f5d65
[Consensus Observer] Wrap block and payload stores in locks.
JoshLind Sep 8, 2024
1fef8b8
[Consensus Observer] Handle duplicate commit messages.
JoshLind Sep 8, 2024
6b06cad
[Consensus Observer] Handle duplicate payload messages.
JoshLind Sep 8, 2024
f39c6b1
[Consensus Observer] Handle duplicate ordered block messages.
JoshLind Sep 8, 2024
b015ee4
[Consensus Observer] Small renames and refactors.
JoshLind Sep 8, 2024
9e4556c
[Consensus Observer] Support multiple subscriptions.
JoshLind Sep 8, 2024
994bd3c
[cli] Add contribution guide (#14435)
gregnazario Sep 17, 2024
1f35406
[Consensus Observer] Make subscription creation asynchronous.
JoshLind Sep 12, 2024
d779590
[Consensus Observer] Move subscription health check to subscription.rs
JoshLind Sep 12, 2024
0e6ca98
[Consensus Observer] Improve subscription manager unit tests.
JoshLind Sep 12, 2024
4a87ad1
[Consensus Observer] Improve subscription utility unit tests.
JoshLind Sep 13, 2024
f92c749
[move-vm] Fixes to enum type implementation (#14657)
wrwg Sep 17, 2024
a0193e6
Sync up QC in order vote message (#14637)
vusirikala Sep 17, 2024
3f920cb
[Consensus Observer] Downgrade unnecessary error logs.
JoshLind Sep 6, 2024
ecfa130
[compiler-v2] Disallow empty enum types (#14658)
wrwg Sep 17, 2024
3b73588
Remove an unnecessary clone. (#14659)
grao1991 Sep 18, 2024
09ce976
fix `aptos move disassemble` help message (#14594)
0xbe1 Sep 18, 2024
94966ae
Cache commit votes received for future rounds in the buffer manager (…
vusirikala Sep 18, 2024
0a9d654
[framework] Disable object burn
gregnazario Aug 28, 2024
20335bb
[gas] bump gas feature version to 1.20 (#14668)
vgao1996 Sep 18, 2024
f5fa2f8
[Consensus Observer] Enable CO for VFNs.
JoshLind Sep 17, 2024
25a0811
[Consensus Observer] Improve error messages for payload verification.
JoshLind Sep 18, 2024
30f76bf
Deprecate delayed QC aggregate msg (#14640)
vusirikala Sep 18, 2024
5daddb7
update forge version and gas version for release 1.21
sherry-x Sep 18, 2024
7d41163
Add comments to StringBodies circuit template (#14675)
rex1fernando Sep 18, 2024
2ca643e
update the localnet to use the latest processors. (#14682)
larry-aptos Sep 19, 2024
eab8d27
[compiler-v2][lint] Needless mutable reference (#14651)
vineethk Sep 19, 2024
2b208e5
[move-compiler-v2] Add all remaining V1 tests to V2, except evm/async…
brmataptos Sep 19, 2024
5f17a6e
[cli] Release 4.2.1 (#14694)
gregnazario Sep 19, 2024
25499ae
gas estimation changes (#14669)
igor-aptos Sep 19, 2024
f5134a5
[move-compiler-v2] fix issue 6922 by allowing type annotations for la…
brmataptos Sep 20, 2024
ce6158a
[aptos-framework] Fix needless mutable references and borrows (#14656)
vineethk Sep 20, 2024
acf8e9f
Update pin on the Swatinem/rust-cache GH action
sionescu Sep 20, 2024
109814a
[GHA] Update actions/checkout v3 -> v4
sionescu Sep 20, 2024
8eb8b52
Fix potential deadlock in state_key::Entry::drop (#14670)
msmouse Sep 20, 2024
d79cb44
Fix the spamming log in CLI. (#14709)
larry-aptos Sep 20, 2024
1c65af5
skip version checking on get txn by hash
areshand Sep 20, 2024
efe0365
use storage ledgerinfo for txn APIs
areshand Sep 20, 2024
1abb125
[Fix] Return None instead of error if table info is not available on …
grao1991 Sep 21, 2024
ee84fb4
Revert "use storage ledgerinfo for txn APIs"
areshand Sep 20, 2024
e87224f
Revert "skip version checking on get txn by hash"
areshand Sep 20, 2024
208988e
[move-compiler-v2] Print a better error message for a string without …
brmataptos Sep 23, 2024
9105c85
[GHA] replay-verify jobs at snapshot boundaries (#14610)
msmouse Sep 23, 2024
ac60da1
Add Move Compiler to components list in PR template, reorder sections…
brmataptos Sep 23, 2024
590e1f5
resolve rust-setup error
msmouse Sep 23, 2024
51f896c
[compiler-v2][decompiler] Pulling fat-loop algorithm out of the prove…
wrwg Sep 23, 2024
e74b307
[Fix] Fix indexer FN and localnet. (#14727)
grao1991 Sep 24, 2024
22eea87
Tune replay granularity for speed (#14729)
msmouse Sep 24, 2024
8689b9a
Release CLI 4.2.3. (#14731)
larry-aptos Sep 24, 2024
a787263
[perf] optimize sort_transactions_with_state_checkpoint (#14748)
msmouse Sep 25, 2024
180bdf5
[ts-sdk] Remove V1 SDK (#14700)
gregnazario Sep 25, 2024
1d0cf10
[aptos-cli]: update move-tool visibility (#14735)
Rqnsom Sep 25, 2024
1bbc8b2
timeless hotfix (#275)
alinush Sep 18, 2024
ce1cfd5
Update mod.rs
sherry-x Sep 25, 2024
d5dbb86
[mempool] move the qs callback to be after mempool
Sep 25, 2024
5ad601c
Automatically bump Forge compat base image to latest release (#14686)
yzaccc Sep 26, 2024
55fdf3f
use different metric name for each shard
areshand Sep 18, 2024
3467c59
adding new runs on image for testing, included gcloud sdk and kubectl…
yzaccc Sep 26, 2024
52cd461
LedgerInfoWithUnverifiedSignatures data structure to store both verif…
vusirikala Sep 26, 2024
63de0c5
[Compiler-v2] Check recursive definition for constants (#14741)
rahxephon89 Sep 26, 2024
cdbb524
Add Cognito support to the pepper service (#14761)
heliuchuan Sep 26, 2024
4f413cd
added gcloud sdk and kubectl in the packer, uploaded the image in to …
yzaccc Sep 27, 2024
3e7bf94
[gha] fix cargo metadata syntax error (#14772)
rustielin Sep 27, 2024
01e3fb5
sleep shorter and return 0 instead of throwing error
areshand Sep 25, 2024
ee34c5e
cargo machete remove
areshand Sep 27, 2024
57257a9
[Consensus Observer] Skip expired batches from verification.
JoshLind Sep 27, 2024
a34e5d6
Update Docker images (#14798)
github-actions[bot] Sep 30, 2024
1357027
[mailmap] Remove mailmap (#14803)
Sep 30, 2024
5946c57
format `tests` and `examples` folder (#14779)
rahxephon89 Sep 30, 2024
ab3c20c
recalibrate single node performance (mostly minor increases) (#14804)
igor-aptos Sep 30, 2024
1036592
[Dev Setup] Pin cargo-machete version
JoshLind Sep 27, 2024
b163f03
[EI-519][indexer][testing] Implement scripted transaction generation …
larry-aptos Sep 30, 2024
414b248
[framework] introduce private entry function for creating multisig ac…
yeptos Sep 9, 2024
f01f482
add an integration test
yeptos Sep 28, 2024
524333a
fix arg names
yeptos Sep 28, 2024
27ff60d
fix lint
yeptos Oct 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 15 additions & 14 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
## Description
<!-- Please include a summary of the change, including which issue it fixes or what feature it adds. Include relevant motivation, context and documentation as appropriate. List dependencies that are required for this change, if any. -->

## How Has This Been Tested?
<!--
- Please ensure that the functionality introduced by this change is well tested and verified to work as expected.
- Ensure tests cover both happy and unhappy paths.
- List and link relevant tests.
-->

## Key Areas to Review
<!--
- Identify any critical parts of the code that require special attention or understanding. Explain why these parts are crucial to the functionality or architecture of the project.
- Point out any areas where complex logic has been implemented. Provide a brief explanation of the logic and your approach to make it easier for reviewers to follow.
- Highlight any areas where you are particularly concerned or unsure about the code's impact on the change. This can include potential performance or security issues, or compatibility with existing features.
-->

## Type of Change
- [ ] New feature
- [ ] Bug fix
Expand All @@ -18,22 +32,9 @@
- [ ] Aptos Framework
- [ ] Aptos CLI/SDK
- [ ] Developer Infrastructure
- [ ] Move Compiler
- [ ] Other (specify)

## How Has This Been Tested?
<!--
- Please ensure that the functionality introduced by this change is well tested and verified to work as expected.
- Ensure tests cover both happy and unhappy paths.
- List and link relevant tests.
-->

## Key Areas to Review
<!--
- Identify any critical parts of the code that require special attention or understanding. Explain why these parts are crucial to the functionality or architecture of the project.
- Point out any areas where complex logic has been implemented. Provide a brief explanation of the logic and your approach to make it easier for reviewers to follow.
- Highlight any areas where you are particularly concerned or unsure about the code's impact on the change. This can include potential performance or security issues, or compatibility with existing features.
-->

## Checklist
- [ ] I have read and followed the [CONTRIBUTING](https://github.com/aptos-labs/aptos-core/blob/main/CONTRIBUTING.md) doc
- [ ] I have performed a self-review of my own code
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: "Determine or Use Target Branch and Get Latest Docker Image"
description: |
Determine the branch to fetch the latest docker image tag from, or use a target branch directly.
- If base-branch is set, determine the target branch to fetch the latest docker image tag from
- Determine the IMAGE_TAG based on the latest release R and check for images built on branch R - 1:
- For commits on the aptos-release-v1.19 branch, the IMAGE_TAG should be the latest commit built on aptos-release-v1.18
- For commits on the main branch, the IMAGE_TAG should be the latest commit on the max release aptos-release-v<X.X> branch
- For commits on other branches, the IMAGE_TAG should be the latest commit on the branch's last release aptos-release-v<X.X> branch
- If branch is set, use it directly

inputs:
base-branch:
description: "The base branch to determine the target from, or use a target branch directly"
required: false
branch:
description: "Use this branch directly if set"
required: false
variants:
description: "The variants to check, as a space-separated string, e.g. 'performance failpoints'"
required: false

outputs:
TARGET_BRANCH:
description: "The determined or target target branch"
value: ${{ steps.set-target-branch.outputs.TARGET_BRANCH }}
IMAGE_TAG:
description: "The latest docker image tag for the given branch and variants"
value: ${{ steps.determine-test-image-tag.outputs.IMAGE_TAG }}

runs:
using: composite
steps:
# Checkout repository based on base branch or target branch
- name: Checkout branch
uses: actions/checkout@v4
with:
ref: ${{ inputs.base-branch || inputs.branch }}
path: checkout_branch
fetch-depth: 0

- name: Setup Python environment
uses: ./checkout_branch/.github/actions/python-setup
with:
pyproject_directory: checkout_branch/testsuite

# Determine the target branch if base-branch is used
- name: Set target branch
id: set-target-branch
run: |
if [[ -n "${{ inputs.base-branch }}" ]]; then
base_branch="${{ inputs.base-branch }}"
echo "Determining target branch from base branch: $base_branch"
./testrun determine_target_branch_to_fetch_last_released_image.py "$base_branch"
else
echo "Using target branch: ${{ inputs.branch }}"
echo "TARGET_BRANCH=${{ inputs.branch }}" >> $GITHUB_OUTPUT
fi
shell: bash
working-directory: checkout_branch/testsuite

# Checkout the determined or target branch
- name: Checkout target branch
if: ${{ steps.set-target-branch.outputs.TARGET_BRANCH != inputs.branch }}
uses: actions/checkout@v4
with:
ref: ${{ steps.set-target-branch.outputs.TARGET_BRANCH }}
path: checkout_branch
fetch-depth: 0

# Setup Python environment again after second checkout, as branches are different
- name: Setup Python environment again
if: ${{ steps.set-target-branch.outputs.TARGET_BRANCH != inputs.branch }}
uses: ./checkout_branch/.github/actions/python-setup
with:
pyproject_directory: checkout_branch/testsuite

# Determine image tag using the target branch
- name: Determine image tag
id: determine-test-image-tag
run: |
variants=(${{ inputs.variants }}) # split the variants string into an array
variants_args=()
for variant in "${variants[@]}"; do
variants_args+=("--variant" "$variant")
done
./testrun find_latest_image.py "${variants_args[@]}"
shell: bash
working-directory: checkout_branch/testsuite
24 changes: 0 additions & 24 deletions .github/actions/general-lints/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,3 @@ runs:
sudo apt-get install shellcheck --assume-yes --no-install-recommends
shellcheck scripts/dev_setup.sh
shell: bash

# Run the python lints and tests
- name: Run python lints and tests
uses: ./.github/actions/python-lint-tests

# Setup node
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: .node-version

# Setup pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v4

# Install packages for examples and run package build, lint and tests
- name: Run ecosystem lint
run: |
cd ./ecosystem/typescript/sdk/examples/typescript && pnpm install && cd -
cd ./ecosystem/typescript/sdk/examples/javascript && pnpm install && cd -
cd ./ecosystem/typescript/sdk && pnpm install && cd -
cd ./ecosystem/typescript/sdk && pnpm lint && cd -
cd ./ecosystem/typescript/sdk && pnpm fmt:check && cd -
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/get-latest-docker-image-tag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
path: checkout_branch
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/move-prover-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
# rust-cache action will cache ~/.cargo and ./target
# https://github.com/Swatinem/rust-cache#cache-details
- name: Run cargo cache
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # pin@v2.2.0
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # pin@v2.7.3

- name: install related tools and prover dependencies
shell: bash
Expand Down
43 changes: 0 additions & 43 deletions .github/actions/python-lint-tests/action.yaml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/actions/run-ts-sdk-e2e-tests/action.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/rust-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
# rust-cache action will cache ~/.cargo and ./target
# https://github.com/Swatinem/rust-cache#cache-details
- name: Run cargo cache
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # pin@v2.2.0
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # pin@v2.7.3
with:
key: ${{ inputs.ADDITIONAL_KEY }}

Expand Down
27 changes: 26 additions & 1 deletion .github/actions/rust-unit-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
GIT_CREDENTIALS:
description: "Optional credentials to pass to git. Useful if you need to pull private repos for dependencies"
required: false
TRUNK_API_TOKEN:
description: "Api key for uploading test results to trunk.io"
required: false

runs:
using: composite
Expand All @@ -28,11 +31,22 @@ runs:
# Run the rust unit tests
- name: Run all unit tests
run: |
NEXTEST_EXPERIMENTAL_LIBTEST_JSON=1 cargo nextest run --profile ci --cargo-profile ci --locked --workspace --exclude smoke-test --exclude aptos-testcases --exclude aptos-keyless-circuit --retries 3 --no-fail-fast --message-format libtest-json > nextest_output.json || python3 .github/actions/rust-unit-tests/nextest_summary.py nextest_output.json "$GITHUB_STEP_SUMMARY" -f
cargo nextest run \
--profile ci \
--cargo-profile ci \
--locked \
--workspace \
--exclude smoke-test \
--exclude aptos-testcases \
--exclude aptos-keyless-circuit \
--retries 3 \
--no-fail-fast \
--message-format libtest-json > nextest_output.json || python3 .github/actions/rust-unit-tests/nextest_summary.py nextest_output.json "$GITHUB_STEP_SUMMARY" -f
python3 .github/actions/rust-unit-tests/nextest_summary.py nextest_output.json "$GITHUB_STEP_SUMMARY" || echo "summary generation had an error"
rm nextest_output.json
shell: bash
env:
NEXTEST_EXPERIMENTAL_LIBTEST_JSON: 1
INDEXER_DATABASE_URL: postgresql://postgres@localhost/postgres
RUST_MIN_STACK: "4297152"
MVP_TEST_ON_CI: "true"
Expand All @@ -41,3 +55,14 @@ runs:
CVC5_EXE: /home/runner/bin/cvc5
DOTNET_ROOT: /home/runner/.dotnet
BOOGIE_EXE: /home/runner/.dotnet/tools/boogie

- name: Upload results
# Run this step even if the test step ahead fails
if: "!cancelled() && ${{ inputs.TRUNK_API_TOKEN }}"
uses: trunk-io/analytics-uploader@main
with:
# Configured in the nextest.toml file
junit-paths: target/nextest/ci/junit.xml
org-slug: aptoslabs
token: ${{ inputs.TRUNK_API_TOKEN }}
continue-on-error: true
3 changes: 2 additions & 1 deletion .github/runs-on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ images:
aptos-ubuntu-x64:
platform: "linux"
arch: "x64"
ami: "ami-07ce6402e4a205d44"
ami: "ami-09f7d4bfb08b771be" # image for testing, with gcloud sdk and kubectl
owner: "058264343338" # aptos-ci AWS account id
aptos-ubuntu-x64-latest:
platform: "linux"
arch: "x64"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aptos-node-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
release-aptos-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-metadata-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
id-token: write
jobs:
cargo-metadata:
runs-on: ubuntu-latest
runs-on: runs-on,cpu=4,ram=16,family=m7a+m7i-flex,image=aptos-ubuntu-x64,run-id=${{ github.run_id }},spot=co
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
Expand All @@ -20,7 +20,7 @@ jobs:
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}
- uses: "google-github-actions/setup-gcloud@v2"
- shell: bash
run: |
cargo metadata --all-features | gsutil cp - gs://aptos-core-cargo-metadata-public/metadata-${{ github.sha }}.json
set -ex
cargo metadata --all-features | gcloud storage cp - gs://aptos-core-cargo-metadata-public/metadata-${{ github.sha }}.json
Loading