Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
47f6569
update validator pub keys to support dkg
hsaleemsupra Aug 12, 2025
b765729
adds blockmetadata flag
hsaleemsupra Aug 13, 2025
451f716
featureflag for blockmetadataext
hsaleemsupra Aug 13, 2025
af3aa8a
add consenses_key support for past version
hsaleemsupra Aug 14, 2025
5a1c866
add clan, family committee structure
hsaleemsupra Aug 15, 2025
5801978
update dkg module to handle new dkg
hsaleemsupra Aug 28, 2025
d1c7590
change dkg.move to use DkgNodeConfig
hsaleemsupra Sep 3, 2025
dcad926
on going changes
hsaleemsupra Sep 4, 2025
cbf7cc6
moved dkg transaction validation to aptosvm
hsaleemsupra Sep 6, 2025
439f93c
adds dkg transaction to post bls pk shares
hsaleemsupra Sep 10, 2025
c3b7468
removed author from dkgmeta
hsaleemsupra Sep 16, 2025
4aca943
supra dkg feature flag
hsaleemsupra Sep 16, 2025
71a505e
update validator pub keys to support dkg
hsaleemsupra Aug 12, 2025
769589e
adds blockmetadata flag
hsaleemsupra Aug 13, 2025
353fd73
featureflag for blockmetadataext
hsaleemsupra Aug 13, 2025
7051fa1
add consenses_key support for past version
hsaleemsupra Aug 14, 2025
ea317d2
add clan, family committee structure
hsaleemsupra Aug 15, 2025
7496465
update dkg module to handle new dkg
hsaleemsupra Aug 28, 2025
3787d0f
change dkg.move to use DkgNodeConfig
hsaleemsupra Sep 3, 2025
7a659f5
on going changes
hsaleemsupra Sep 4, 2025
ed6d5b1
moved dkg transaction validation to aptosvm
hsaleemsupra Sep 6, 2025
620029f
adds dkg transaction to post bls pk shares
hsaleemsupra Sep 10, 2025
c38ce7b
removed author from dkgmeta
hsaleemsupra Sep 16, 2025
1b5a784
supra dkg feature flag
hsaleemsupra Sep 16, 2025
33e0b87
rebase with dev
hsaleemsupra Sep 16, 2025
d580810
Merge branch 'feature/dkg-integration' of https://github.com/Entropy-…
hsaleemsupra Sep 16, 2025
31b13ce
add dkg validator transaction validation
hsaleemsupra Sep 17, 2025
9a06c1c
adds family check in dkg transaction validation
hsaleemsupra Sep 18, 2025
44d8ace
minor
hsaleemsupra Sep 18, 2025
5527465
adds feature gating for validator transaction execution
hsaleemsupra Sep 19, 2025
3974c87
update dkg transaction execution validation
hsaleemsupra Sep 19, 2025
7bb1775
temporarily support old consensus key
hsaleemsupra Oct 1, 2025
47a7c2e
added identity to dkg node config
hsaleemsupra Oct 15, 2025
08ed9fc
added dkg events
hsaleemsupra Oct 15, 2025
4bcadd3
add consensus key rust type
hsaleemsupra Oct 15, 2025
9c686ce
add dkg event try from for Contract event
hsaleemsupra Oct 16, 2025
e3450f9
changes to get dkg move state
hsaleemsupra Oct 18, 2025
3dc355b
added DKGResharing struct
hsaleemsupra Oct 21, 2025
77d67d3
emit dkg update events
hsaleemsupra Oct 21, 2025
e4a97b4
impl from dkg events to contract event
hsaleemsupra Oct 22, 2025
ef0d351
to_bytes for consensuskey
hsaleemsupra Oct 22, 2025
74beaf5
update crypto version
hsaleemsupra Oct 28, 2025
e4a1229
update crypto
hsaleemsupra Oct 28, 2025
8eb859f
update crypto
hsaleemsupra Oct 29, 2025
04711e6
update crypto
hsaleemsupra Oct 29, 2025
ac4301a
update crypto
hsaleemsupra Oct 29, 2025
308990e
update crypto
hsaleemsupra Oct 29, 2025
3d14a98
validator key change and refactor
hsaleemsupra Nov 1, 2025
0ce6350
Revert "validator key change and refactor"
hsaleemsupra Nov 1, 2025
213ca23
updated validator public keys and refactoring
hsaleemsupra Nov 1, 2025
8a73f43
ongoing changes
hsaleemsupra Nov 4, 2025
c0acc1f
add gas params for supra_stdlib
hsaleemsupra Nov 5, 2025
ae8bf13
fmt
hsaleemsupra Nov 6, 2025
ef5abf8
ongoing changes to address comments
hsaleemsupra Nov 13, 2025
9365a3e
ongoing changes
hsaleemsupra Nov 17, 2025
5ecc6b2
Merge branch 'dev' into feature/dkg-integration
hsaleemsupra Nov 18, 2025
4933a68
minor fixes
hsaleemsupra Nov 18, 2025
f3f8daa
adds new method for ValidatorPublicKeys
hsaleemsupra Nov 21, 2025
6caa8ee
new methods for DkgNodeConfig and DkgCommittee
hsaleemsupra Nov 22, 2025
59184b3
update dkg committee to use validator address as identity
hsaleemsupra Nov 22, 2025
8262e7a
add copyright statements
hsaleemsupra Nov 22, 2025
fa6a79f
Update validator_public_keys.move (#305)
so-schen Nov 24, 2025
035efe5
minor fix
hsaleemsupra Dec 10, 2025
1e65f2d
resharing config changed to per receiver committee
hsaleemsupra Dec 10, 2025
dd9daf8
add epoch, chain_id in onchainaggcommitments
hsaleemsupra Dec 11, 2025
ed59bad
update validator committee keys after dkg
hsaleemsupra Dec 12, 2025
f3788f0
fix test public key
hsaleemsupra Dec 12, 2025
2186db9
changes to support arbitrary threshold types
hsaleemsupra Dec 16, 2025
4e2853d
dkg for validity & quorum keys
hsaleemsupra Dec 17, 2025
523a82e
[#2300] Feature flag.
isaacdoidge Sep 27, 2025
3c3e600
Sc/task/issue 2242 patch2 (#306)
so-schen Nov 24, 2025
d6ec1b2
made compatible with the new key format
mzajac-supra Nov 27, 2025
f645798
added a fallback to the old format
mzajac-supra Nov 28, 2025
d4c23b6
parsing ed key by `try_from` instead of bcs
mzajac-supra Nov 28, 2025
dfa1949
Merge remote-tracking branch 'origin/dev' into feature/dkg-integration
hsaleemsupra Dec 20, 2025
b1c1426
Merge branch 'smr-moonshot-2300-consensus-keys-relaxation' into featu…
hsaleemsupra Dec 20, 2025
486cf98
Update dkg.md
hsaleemsupra Dec 20, 2025
3cd9b33
fixes
hsaleemsupra Dec 23, 2025
9677938
conditional consensus key based on bls flag
hsaleemsupra Jan 13, 2026
b0ee778
update validator_config to use ValidatorPublicKeys
hsaleemsupra Jan 13, 2026
bfe8f54
update ValidatorPublicKeys to include bcft keys
hsaleemsupra Jan 14, 2026
4a6200a
update gas ver
hsaleemsupra Jan 15, 2026
5225a84
add supra_stdlib gas params to_on_chain_gas_schedule
hsaleemsupra Jan 15, 2026
42ff45d
add randomness tag to block_prologue_ext
hsaleemsupra Jan 16, 2026
9f3433c
temporarily mark randomness biasable
hsaleemsupra Jan 16, 2026
bcc44ad
add SUPRA_DKG to default features
hsaleemsupra Jan 16, 2026
f04b953
dkg module fixes
hsaleemsupra Jan 21, 2026
5f41e34
fix dkg transactions error handling in vm
hsaleemsupra Jan 29, 2026
56ef591
added dkg config
hsaleemsupra Feb 3, 2026
3fd373f
dkg handles all bls key types
hsaleemsupra Feb 3, 2026
0ccc796
remove dkg meta set condition for pk shares
hsaleemsupra Feb 6, 2026
24000f8
adds dkg threshold type for receiver committees
hsaleemsupra Feb 11, 2026
4e6e46c
removed error status DKG_META_NOT_SET
hsaleemsupra Feb 13, 2026
79a96ab
distinguish error code for future/past epochs
hsaleemsupra Feb 13, 2026
1e71f67
Merge from dev
dhaval-supraoracles Feb 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .cursorrules

Choose a reason for hiding this comment

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

Please add this to .gitignore for now and remove it from the remote. We can discuss adding a ruleset like this with the rest of the team.

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