Commit da5ffb0
Feature/dkg integration (#302)
* update validator pub keys to support dkg
* adds blockmetadata flag
* featureflag for blockmetadataext
* add consenses_key support for past version
* add clan, family committee structure
* update dkg module to handle new dkg
* change dkg.move to use DkgNodeConfig
* on going changes
* moved dkg transaction validation to aptosvm
* adds dkg transaction to post bls pk shares
* removed author from dkgmeta
* supra dkg feature flag
* update validator pub keys to support dkg
* adds blockmetadata flag
* featureflag for blockmetadataext
* add consenses_key support for past version
* add clan, family committee structure
* update dkg module to handle new dkg
* change dkg.move to use DkgNodeConfig
* on going changes
* moved dkg transaction validation to aptosvm
* adds dkg transaction to post bls pk shares
* removed author from dkgmeta
* supra dkg feature flag
* rebase with dev
* add dkg validator transaction validation
* adds family check in dkg transaction validation
* minor
* adds feature gating for validator transaction execution
* update dkg transaction execution validation
* temporarily support old consensus key
* added identity to dkg node config
* added dkg events
* add consensus key rust type
* add dkg event try from for Contract event
* changes to get dkg move state
* added DKGResharing struct
* emit dkg update events
* impl from dkg events to contract event
* to_bytes for consensuskey
* update crypto version
* update crypto
* update crypto
* update crypto
* update crypto
* update crypto
* validator key change and refactor
* Revert "validator key change and refactor"
This reverts commit 3d14a98.
* updated validator public keys and refactoring
* ongoing changes
* add gas params for supra_stdlib
* fmt
* ongoing changes to address comments
* ongoing changes
* minor fixes
* adds new method for ValidatorPublicKeys
* new methods for DkgNodeConfig and DkgCommittee
* update dkg committee to use validator address as identity
* add copyright statements
* Update validator_public_keys.move (#305)
* Update validator_public_keys.move
* Add functions for new CertificateThresholdType constant tags (BCFT and Clan Majority)
* addressing comments
* rename
* fix docs
* minor fix
* resharing config changed to per receiver committee
* add epoch, chain_id in onchainaggcommitments
* update validator committee keys after dkg
* fix test public key
* changes to support arbitrary threshold types
* dkg for validity & quorum keys
* [aptos-labs#2300] Feature flag.
* Sc/task/issue 2242 patch2 (#306)
* add supra bcft cert feature flag
* update md file
* addressing comments
* made compatible with the new key format
* added a fallback to the old format
* parsing ed key by `try_from` instead of bcs
* Update dkg.md
* fixes
* conditional consensus key based on bls flag
* update validator_config to use ValidatorPublicKeys
* update ValidatorPublicKeys to include bcft keys
* update gas ver
* add supra_stdlib gas params to_on_chain_gas_schedule
* add randomness tag to block_prologue_ext
* temporarily mark randomness biasable
* add SUPRA_DKG to default features
* dkg module fixes
* fix dkg transactions error handling in vm
* added dkg config
* dkg handles all bls key types
* remove dkg meta set condition for pk shares
* adds dkg threshold type for receiver committees
* removed error status DKG_META_NOT_SET
* distinguish error code for future/past epochs
* fixed leader ban test cases
* dkg for bcft and clan majority
* update crypto version
* adds next_epoch_validator_consensus_infos_for_dkg
* feat: changes related to the transaction inclusion proof feature (#341)
* feat(types,accumulator): Add features for transactions inclusions and events emissions proofs.
- RLP's `Encodable` trait implementation for Contract Events.
- `get_proof_by_position` method for Merkle Accumulator.
* feat: add `EventV2` api type
* chore: cargo feature optimization
* refactor(aptos-api-types): transformed `Event` to `EventV1` and applied Full-Clone on `EventV2`
* feat: add `hash` in `EventV1` with serialization disabled
* docs: fix oai docs for `EventV1`
* feat(aptos_api_types): add `try_into_v2_events` to convert `ContractEvent` to `EventV2`
* feat: add `SUPRA_TRANSACTIONS_INCLUSION_PROOFS` feature flag
* feat: replace rlp encoding with custom encoding to generate event hash
* chore: replace `alloy` with `sha3` for `Keccak256` impl
* fix: Keccack256 hash implementation using `sha3`
---------
Co-authored-by: Nikita Puzankov <n.puzankov@supraoracles.com>
Co-authored-by: Simon Chen <s.chen@supraoracles.com>
* fix: ensure `hash_bytes` gets updated with finalized hash
* Updated crypto ref to revision containing ref to bicycl-rs with fully-qualified SSH submodule refs.
* update crypto
* Updated minimum GAS_UNIT_PRICE from 100 to 100_000 in accordance with the outcome of https://vote.supra.com/proposal/3. (#344)
* test fixes
* make order of dkg committee consistent with new epoch committee
* Fixed DKG config to account for BCFT flag and added missing threshold. Added comments. Regenerated docs.
* Fixed DKG config and removed unnecessary test.
* Discovered that DKG config is initialised during genesis before feature flags are set, so updated implementation accordingly and added notes. Also fixed supra_governance::reconfigure.
* Formatting.
* Started work towards adding leader ban registry config to genesis. (#346)
* Started work towards adding leader ban registry config to genesis.
* added remaining changes for the leader ban config at genesis
* added deserilization step
* added deserilization step
* added deserilization step
* fixed leader ban registry package for ban parameters
* decoded correct version of params
---------
Co-authored-by: Dhaval Purohit <d.purohit@supraoracles.com>
* Formatting.
* Added TypeTags for UpdateNetworkAndFullnodeAddressesEvent and RotateConsensusKeyEvent.
* Added fixes for leader ban registry view (#350)
* added fixes for leader ban registry view
* fixed the test according to updated changes
* PR comments addressed
* addressing comments
* reverse pending active order for next_validator_consensus_infos
---------
Co-authored-by: simonchen-supra <s.chen@supraoracles.com>
Co-authored-by: Isaac Doidge <i.doidge@supraoracles.com>
Co-authored-by: Mateusz Zając <m.zajac@supraoracles.com>
Co-authored-by: Dhaval Purohit <d.purohit@supraoracles.com>
Co-authored-by: Panchal Vedant <v.panchal@supraoracles.com>
Co-authored-by: Nikita Puzankov <n.puzankov@supraoracles.com>
Co-authored-by: Isaac Doidge <30425649+isaacdoidge@users.noreply.github.com>1 parent f487d9b commit da5ffb0
308 files changed
Lines changed: 20288 additions & 6703 deletions
File tree
- .cargo
- api
- src
- tests
- test-context/move
- types
- src
- aptos-move
- aptos-debugger/src
- aptos-e2e-comparison-testing
- aptos-gas-algebra/src
- aptos-gas-profiling/src
- aptos-gas-schedule/src
- gas_schedule
- aptos-release-builder
- src
- components
- aptos-transaction-benchmarks
- aptos-transactional-test-harness/src
- aptos-validator-interface/src
- aptos-vm-benchmarks/samples/do-nothing
- aptos-vm-profiling
- aptos-vm
- src
- move_vm_ext/session
- validator_txns
- verifier
- e2e-move-tests/src
- tests
- per_category_gas_limits.data/test
- e2e-testsuite
- src/tests
- e2e-tests
- framework
- aptos-stdlib
- sources
- aptos-token-objects
- aptos-token
- cached-packages/src
- move-stdlib
- doc
- sources/configs
- src
- natives
- cryptography
- supra-framework
- doc
- sources
- configs
- tests
- supra-stdlib
- doc
- sources
- tests
- move-examples
- cli_args
- event
- fungible_asset/stablecoin
- hello_prover
- mint_nft
- 3-Adding-Admin
- 4-Getting-Production-Ready
- my_first_dapp/move
- raffle
- tic-tac-toe
- upgrade_and_govern
- genesis
- upgrade
- vm-genesis
- src
- aptos-node
- config
- global-constants/src
- src/config
- consensus
- src
- payload_client
- transaction_shuffler/fairness/conflict_key
- util
- crates
- aptos-collections
- aptos-crypto
- src
- aptos-dkg
- aptos-faucet
- cli
- core
- src/checkers
- metrics-server
- aptos-genesis/src
- aptos-id-generator
- aptos-infallible
- aptos-keygen
- aptos-log-derive
- aptos-network-checker
- aptos-profiler
- aptos-proptest-helpers
- aptos-rate-limiter
- aptos-retrier
- aptos-rosetta-cli
- aptos-rosetta/src/types
- aptos-temppath
- aptos
- src
- account
- common
- genesis
- governance
- move_tool
- node
- fallible
- indexer
- src
- indexer
- models
- coin_models
- token_models
- proxy
- supra/src
- validator-transaction-pool/src
- dkg/src
- dkg_manager
- transcript_aggregation
- ecosystem
- indexer-grpc
- indexer-grpc-fullnode/src
- indexer-grpc-table-info
- indexer-grpc-utils/src
- transaction-filter/src
- nft-metadata-crawler-parser
- execution
- block-partitioner
- executor-benchmark
- executor-service
- executor-types/src
- executor
- src/components
- keyless/circuit
- mempool
- network/framework
- protos
- python
- rust/src/pb
- sdk/src
- storage
- accumulator/src
- aptosdb
- backup/backup-cli/src/backup_types/transaction
- indexer_schemas
- jellyfish-merkle
- testsuite
- forge
- fuzzer/.cargo
- smoke-test
- third_party/move
- evm/hardhat-examples
- extensions
- async/move-async-vm
- move-table-extension
- move-binary-format
- move-bytecode-verifier
- bytecode-verifier-tests
- fuzz
- move-core/types
- src
- move-examples/diem-framework/crates/crypto
- move-prover/lab
- data
- aptos-framework
- diem-framework
- mono
- new-boogie-aptos-framework
- new-boogie-aptos-stdlib
- new-boogie-diem-framework
- test
- move-vm
- integration-tests
- paranoid-tests
- types
- testing-infra/transactional-test-runner
- tools
- move-package/tests/test_sources
- compilation
- multiple_deps_rename_one
- multiple_deps_rename
- model/multiple_deps_rename
- parsing
- no_path_set_for_dependency
- non_identifier_address_name_in_subst
- resolution
- dep_good_digest
- multiple_deps_rename
- one_dep_bad_digest
- move-unit-test
- types
- src
- account_config/events
- aptos_dkg
- dummy_dkg
- real_dkg
- rounding
- dkg
- on_chain_config
- proof
- position
- transaction
- unit_tests
- vm-validator
- src/mocks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments