Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ae30a87
[AN-Issue-2480-2486] Updated system task handling on cancellation and…
aregng Dec 5, 2025
1d85677
add ability for admin to delay unlock by specified periods (#312)
sjoshisupra Dec 8, 2025
cb4f7aa
cli help text (#317)
Dec 12, 2025
2807494
Updated prebuilt packages as follow up of #311 fix (#319)
aregng Dec 12, 2025
f9a2fb8
correction on cli command usage (2532) (#320)
Dec 17, 2025
7f9a447
Issue 323 (#324)
sjoshisupra Jan 6, 2026
29cbdc8
update auto generated sdk_builder and docs (#326)
sjoshisupra Jan 9, 2026
cb34a04
[AN-Issue-2637] Unlocked valid cycle fee and updated registry state p…
aregng Feb 2, 2026
375bc82
update runner (#337)
Supra-RaghulRajeshR Feb 11, 2026
585341b
Adding leader ban registry module in supra framework (#290)
dhaval-supraoracles Feb 13, 2026
90c00aa
Update aptos-framework-test.yaml (#345)
Jayanth-Supra Mar 12, 2026
f3040a4
Fixes for issues reported in pentesting audit (#338)
supra-yoga Mar 16, 2026
f487d9b
Update all related Gas schedule parameters as per SUP#3 proposal (#348)
supra-yoga Apr 1, 2026
da5ffb0
Feature/dkg integration (#302)
hsaleemsupra Apr 12, 2026
1e45800
Update all related Gas schedule parameters as per SUP#3 proposal (#34…
supra-yoga Apr 13, 2026
747d64c
Updated validator public key validation logic (#352)
isaacdoidge Apr 18, 2026
306b607
Ensured that governance transactions can access randomness. (#355)
isaacdoidge Apr 21, 2026
e28cc05
Ensured that validators cannot register duplicate network addresses o…
isaacdoidge May 21, 2026
d62c2b5
Merge from dev
dhaval-supraoracles Jun 3, 2026
839bec8
clip backtrace dump mentioned in #1171 and make cli respect supra-rpc…
Jun 10, 2026
531d2d2
[EAN-Issue-2530] Added evm-contracts-details move module (#342)
aregng Jun 10, 2026
f89729d
[Issue-2876] Fixed failing tests and updated docs (#363)
aregng Jun 11, 2026
931e815
Fixed missing std::vector for gas-schedule update script (#364)
aregng Jun 11, 2026
8bc4b56
[Evm] Exposed convenience APIs for evm-configs (#366)
aregng Jun 16, 2026
536e1a3
Fixed building issue and test cases
dhaval-supraoracles Jun 17, 2026
2f23999
Corrected validation logic for new-format validator public keys (#368…
isaacdoidge Jun 22, 2026
f4b0749
few more test cases fixed
dhaval-supraoracles Jun 22, 2026
d8dd86c
Fixed integration issue
dhaval-supraoracles Jun 23, 2026
61db493
Merge from dev
dhaval-supraoracles Jun 29, 2026
912140a
Fixed remaining test cases
dhaval-supraoracles Jul 1, 2026
aeb003d
Some fmt and minor build issues
dhaval-supraoracles Jul 8, 2026
f945d14
Resolved PR comments
dhaval-supraoracles Jul 21, 2026
165a78e
PR comment resolution
dhaval-supraoracles Jul 22, 2026
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"linker=clang",
"-C",
"link-arg=-fuse-ld=lld",
"-C",
"force-frame-pointers=yes",
Expand All @@ -71,3 +73,7 @@ rustflags = [
"-C",
"link-arg=/STACK:8000000", # Set stack to 8 MB
]

[env]
CMAKE_POLICY_VERSION_MINIMUM = "3.5"
CXXFLAGS = "-include cstdint" # Needed for `librocksdb-sys` build
32 changes: 32 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Supra Move Development Rules

CRITICAL: This is a Supra Move project, NOT Aptos Move. Never use aptos_framework.

## Framework Rules:
1. ALWAYS use supra_framework:: instead of aptos_framework::
2. Available namespaces: supra_framework::, std::
3. Main modules in supra_framework: config_buffer, create_signer, system_addresses, block, reconfiguration, reconfiguration_with_dkg, genesis, automation_registry, event, randomness, state_storage, transaction_fee, util, fungible_asset, multisig_account, function_info, validator_consensus_info, dispatchable_fungible_asset, aggregator_v2, aggregator_factory, chain_id, chain_status, consensus_config, execution_config, gas_schedule, pbo_delegation_pool, staking_config, staking_contract, storage_gas, supra_config, supra_governance, timestamp, transaction_validation, version, vesting, vesting_without_staking, supra_coin, account, supra_account
4. Standard library modules: vector, table, borrow_mut, error, features, option, signer, string, fixed_point32

## Code Generation Rules:
- Use supra_framework::account for account operations
- Use supra_framework::supra_coin for native token operations
- Use supra_framework::timestamp for time operations
- Use supra_framework::event for event handling
- Use std::vector for vector operations
- Use std::table for table operations

## Example Patterns:
```move
module supra_framework::example {
use supra_framework::account;
use supra_framework::signer;
use std::vector;

public fun init(account: &signer) {
// Supra Move code
}
}
```

When generating Move code, ALWAYS use the Supra Move framework patterns above.
53 changes: 42 additions & 11 deletions .github/workflows/aptos-framework-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Run aptos framework checks

on:
push:
branches: [ "dev", "release/**", "feature/**" ]
Expand All @@ -7,25 +8,55 @@ on:
types: [opened, synchronize, ready_for_review]
branches: [ "dev", "release/**", "feature/**" ]
paths-ignore: [ '**/*.md' ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true
DOCKER_BUILDKIT: 1
FORGE_BIN: ~/.foundry/bin/forge
SUI_BIN: ~/.cargo/bin/sui
APTOS_BIN: ~/.local/bin/aptos
SCRYPTO_BIN: ~/.cargo/bin/scrypto

jobs:
build:
runs-on: ghr-elastic-supra-aptos-core-runner
runs-on: [self-hosted, do-ephemeral]
timeout-minutes: 90

steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- run: cargo test --release -p aptos-types --lib unit_tests --no-fail-fast
- run: cargo test --release -p aptos-framework -- --skip prover
- run: RUST_MIN_STACK=104857600 cargo test run -p language-e2e-testsuite --no-fail-fast
- run: RUST_MIN_STACK=104857600 cargo test run -p e2e-move-tests --no-fail-fast
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable

- name: Install cargo-nextest
uses: taiki-e/install-action@nextest

- name: Setup SSH access
run: |
mkdir -p ~/.ssh

echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa

ssh-keyscan github.com >> ~/.ssh/known_hosts

echo "Host github.com
StrictHostKeyChecking no
" >> ~/.ssh/config

- name: Test SSH connection
run: ssh -T git@github.com || true

- name: Run aptos-types tests
run: cargo test --release -p aptos-types --lib unit_tests --no-fail-fast

- name: Run aptos-framework tests
run: cargo test --release -p aptos-framework -- --skip prover

- name: Run language e2e tests
run: RUST_MIN_STACK=104857600 cargo nextest run -p language-e2e-testsuite --no-fail-fast

- name: Run move e2e tests
run: RUST_MIN_STACK=104857600 cargo nextest run -p e2e-move-tests --no-fail-fast
Loading