From fa5f4250874203af80ebc461b0a3d659b3c32f04 Mon Sep 17 00:00:00 2001 From: Howard Wu <9260812+howardwu@users.noreply.github.com> Date: Sat, 10 Feb 2024 17:49:12 -0800 Subject: [PATCH 1/5] Updates Testnet3 to MainnetV0 --- .github/workflows/benchmarks.yml | 2 +- README.md | 2 +- .../src/polycommit/kzg10/data_structures.rs | 2 +- circuit/environment/src/circuit.rs | 8 +- circuit/network/src/v0.rs | 8 +- .../program/src/data/literal/cast/boolean.rs | 96 +- .../program/src/data/literal/cast/field.rs | 100 +- .../program/src/data/literal/cast/integer.rs | 984 +++++++------- .../program/src/data/literal/cast/scalar.rs | 100 +- .../src/data/literal/cast_lossy/boolean.rs | 111 +- .../src/data/literal/cast_lossy/field.rs | 115 +- .../src/data/literal/cast_lossy/integer.rs | 1194 ++++++++++------- .../src/data/literal/cast_lossy/scalar.rs | 118 +- console/account/benches/account.rs | 4 +- console/account/src/address/try_from.rs | 4 +- console/account/src/compute_key/bytes.rs | 4 +- console/account/src/compute_key/from_bits.rs | 4 +- console/account/src/compute_key/serialize.rs | 4 +- console/account/src/compute_key/to_address.rs | 4 +- console/account/src/compute_key/to_bits.rs | 4 +- console/account/src/compute_key/try_from.rs | 4 +- console/account/src/graph_key/bytes.rs | 4 +- console/account/src/graph_key/serialize.rs | 4 +- console/account/src/graph_key/string.rs | 4 +- console/account/src/graph_key/try_from.rs | 4 +- console/account/src/lib.rs | 4 +- console/account/src/private_key/bytes.rs | 4 +- console/account/src/private_key/serialize.rs | 4 +- console/account/src/private_key/sign.rs | 4 +- console/account/src/private_key/string.rs | 4 +- console/account/src/signature/bytes.rs | 4 +- console/account/src/signature/from_bits.rs | 4 +- console/account/src/signature/mod.rs | 4 +- console/account/src/signature/parse.rs | 4 +- console/account/src/signature/to_bits.rs | 4 +- console/account/src/signature/verify.rs | 4 +- console/account/src/view_key/bytes.rs | 4 +- console/account/src/view_key/mod.rs | 4 +- console/account/src/view_key/serialize.rs | 4 +- console/account/src/view_key/string.rs | 4 +- console/account/src/view_key/to_address.rs | 4 +- console/account/src/view_key/try_from.rs | 4 +- .../collections/benches/kary_merkle_tree.rs | 4 +- console/collections/benches/merkle_tree.rs | 14 +- console/network/src/lib.rs | 4 +- .../src/{testnet3.rs => mainnet_v0.rs} | 50 +- console/program/src/data/access/bytes.rs | 4 +- console/program/src/data/access/parse.rs | 4 +- console/program/src/data/access/serialize.rs | 4 +- console/program/src/data/ciphertext/bytes.rs | 4 +- .../program/src/data/ciphertext/decrypt.rs | 4 +- console/program/src/data/ciphertext/parse.rs | 4 +- .../program/src/data/ciphertext/serialize.rs | 4 +- console/program/src/data/future/bytes.rs | 4 +- console/program/src/data/future/parse.rs | 4 +- console/program/src/data/identifier/bytes.rs | 4 +- .../program/src/data/identifier/from_bits.rs | 4 +- .../program/src/data/identifier/from_field.rs | 4 +- console/program/src/data/identifier/mod.rs | 4 +- console/program/src/data/identifier/parse.rs | 4 +- .../program/src/data/identifier/serialize.rs | 4 +- .../src/data/identifier/size_in_bits.rs | 4 +- .../program/src/data/identifier/to_bits.rs | 4 +- .../program/src/data/identifier/to_field.rs | 4 +- console/program/src/data/literal/bytes.rs | 4 +- console/program/src/data/literal/from_bits.rs | 4 +- console/program/src/data/literal/parse.rs | 4 +- console/program/src/data/literal/serialize.rs | 4 +- console/program/src/data/plaintext/bytes.rs | 4 +- console/program/src/data/plaintext/equal.rs | 4 +- console/program/src/data/plaintext/mod.rs | 4 +- console/program/src/data/plaintext/parse.rs | 4 +- .../program/src/data/plaintext/serialize.rs | 4 +- console/program/src/data/record/bytes.rs | 4 +- console/program/src/data/record/decrypt.rs | 4 +- .../program/src/data/record/entry/parse.rs | 4 +- console/program/src/data/record/equal.rs | 4 +- console/program/src/data/record/is_owner.rs | 4 +- .../src/data/record/parse_plaintext.rs | 4 +- console/program/src/data/record/serialize.rs | 4 +- console/program/src/data/register/mod.rs | 4 +- console/program/src/data/register/parse.rs | 4 +- .../program/src/data/register/serialize.rs | 4 +- console/program/src/data/value/bytes.rs | 4 +- console/program/src/data/value/parse.rs | 4 +- console/program/src/data/value/serialize.rs | 4 +- .../src/data_types/array_type/bytes.rs | 2 +- .../program/src/data_types/array_type/mod.rs | 4 +- .../src/data_types/array_type/serialize.rs | 6 +- .../src/data_types/finalize_type/parse.rs | 4 +- .../src/data_types/finalize_type/serialize.rs | 4 +- .../src/data_types/plaintext_type/parse.rs | 4 +- .../data_types/plaintext_type/serialize.rs | 4 +- .../src/data_types/record_type/bytes.rs | 4 +- .../record_type/entry_type/parse.rs | 4 +- .../record_type/entry_type/serialize.rs | 4 +- .../src/data_types/record_type/parse.rs | 4 +- .../src/data_types/record_type/serialize.rs | 4 +- .../src/data_types/register_type/parse.rs | 4 +- .../src/data_types/register_type/serialize.rs | 4 +- .../src/data_types/struct_type/bytes.rs | 4 +- .../src/data_types/struct_type/parse.rs | 4 +- .../src/data_types/struct_type/serialize.rs | 4 +- .../src/data_types/value_type/parse.rs | 4 +- .../src/data_types/value_type/serialize.rs | 4 +- console/program/src/id/mod.rs | 4 +- console/program/src/id/parse.rs | 4 +- console/program/src/id/serialize.rs | 4 +- console/program/src/id/to_bits.rs | 4 +- console/program/src/locator/parse.rs | 4 +- console/program/src/locator/serialize.rs | 4 +- console/program/src/owner/bytes.rs | 4 +- console/program/src/owner/mod.rs | 4 +- .../program/src/request/input_id/serialize.rs | 4 +- console/program/src/request/mod.rs | 4 +- console/program/src/request/verify.rs | 4 +- console/program/src/state_path/bytes.rs | 4 +- .../src/state_path/configuration/mod.rs | 2 +- .../program/src/state_path/header_leaf/mod.rs | 4 +- console/program/src/state_path/parse.rs | 4 +- console/program/src/state_path/serialize.rs | 4 +- .../src/state_path/transaction_leaf/mod.rs | 4 +- .../src/state_path/transition_leaf/mod.rs | 4 +- console/program/src/state_path/verify.rs | 4 +- console/types/benches/group.rs | 4 +- ledger/authority/src/lib.rs | 2 +- ledger/benches/block.rs | 4 +- ledger/benches/transaction.rs | 26 +- ledger/block/src/bytes.rs | 4 +- ledger/block/src/genesis.rs | 4 +- ledger/block/src/header/bytes.rs | 4 +- ledger/block/src/header/genesis.rs | 4 +- ledger/block/src/header/merkle.rs | 4 +- ledger/block/src/header/metadata/bytes.rs | 4 +- ledger/block/src/header/metadata/genesis.rs | 4 +- ledger/block/src/header/metadata/mod.rs | 2 +- ledger/block/src/header/mod.rs | 2 +- ledger/block/src/helpers/target.rs | 4 +- ledger/block/src/lib.rs | 2 +- ledger/block/src/ratifications/merkle.rs | 4 +- ledger/block/src/ratifications/mod.rs | 2 +- ledger/block/src/ratifications/serialize.rs | 4 +- ledger/block/src/ratify/mod.rs | 4 +- ledger/block/src/serialize.rs | 4 +- ledger/block/src/solutions/serialize.rs | 2 +- .../block/src/transaction/deployment/mod.rs | 4 +- ledger/block/src/transaction/execution/mod.rs | 2 +- ledger/block/src/transaction/fee/mod.rs | 2 +- ledger/block/src/transaction/mod.rs | 4 +- .../block/src/transactions/confirmed/mod.rs | 6 +- ledger/block/src/transactions/merkle.rs | 4 +- ledger/block/src/transactions/mod.rs | 4 +- ledger/block/src/transactions/rejected/mod.rs | 4 +- ledger/block/src/transactions/serialize.rs | 4 +- ledger/block/src/transition/input/mod.rs | 4 +- ledger/block/src/transition/merkle.rs | 4 +- ledger/block/src/transition/mod.rs | 2 +- ledger/block/src/transition/output/mod.rs | 4 +- ledger/coinbase/benches/coinbase_puzzle.rs | 18 +- .../helpers/coinbase_solution/serialize.rs | 2 +- .../src/helpers/epoch_challenge/bytes.rs | 4 +- .../src/helpers/partial_solution/bytes.rs | 4 +- .../src/helpers/partial_solution/serialize.rs | 4 +- .../src/helpers/partial_solution/string.rs | 4 +- .../src/helpers/prover_solution/bytes.rs | 4 +- .../src/helpers/prover_solution/serialize.rs | 4 +- .../src/helpers/prover_solution/string.rs | 4 +- .../src/helpers/puzzle_commitment/bytes.rs | 4 +- .../helpers/puzzle_commitment/serialize.rs | 4 +- .../src/helpers/puzzle_commitment/string.rs | 4 +- ledger/coinbase/src/tests.rs | 26 +- ledger/committee/src/lib.rs | 4 +- ledger/committee/src/prop_tests.rs | 2 +- ledger/narwhal/batch-certificate/src/lib.rs | 6 +- ledger/narwhal/batch-header/src/lib.rs | 4 +- ledger/narwhal/subdag/src/lib.rs | 6 +- ledger/narwhal/transmission-id/src/lib.rs | 4 +- ledger/narwhal/transmission-id/src/string.rs | 4 +- ledger/narwhal/transmission/src/lib.rs | 4 +- ledger/src/get.rs | 4 +- ledger/src/lib.rs | 4 +- ledger/store/src/block/mod.rs | 2 +- .../store/src/helpers/memory/internal/map.rs | 4 +- .../src/helpers/memory/internal/nested_map.rs | 4 +- .../store/src/helpers/rocksdb/internal/map.rs | 4 +- .../helpers/rocksdb/internal/nested_map.rs | 4 +- .../src/helpers/rocksdb/internal/tests.rs | 4 +- ledger/store/src/program/committee.rs | 2 +- ledger/store/src/program/finalize.rs | 4 +- ledger/store/src/transaction/execution.rs | 2 +- ledger/test-helpers/src/lib.rs | 2 +- parameters/examples/inclusion.rs | 6 +- parameters/examples/setup.rs | 6 +- .../scripts/{testnet3 => mainnet}/credits.sh | 4 +- parameters/scripts/mainnet/inclusion.sh | 9 + parameters/scripts/testnet3/inclusion.sh | 9 - parameters/src/lib.rs | 2 +- .../src/{testnet3 => mainnet}/genesis.rs | 0 parameters/src/{testnet3 => mainnet}/mod.rs | 26 +- .../src/{testnet3 => mainnet}/powers.rs | 0 .../resources/beta-h.metadata | 0 .../resources/beta-h.usrs | Bin .../resources/block.genesis | Bin .../resources/bond_public.metadata | 0 .../resources/bond_public.verifier | Bin .../resources/claim_unbond_public.metadata | 0 .../resources/claim_unbond_public.verifier | Bin .../resources/fee_private.metadata | 0 .../resources/fee_private.verifier | Bin .../resources/fee_public.metadata | 0 .../resources/fee_public.verifier | Bin .../resources/genesis.metadata | 0 .../resources/inclusion.metadata | 0 .../resources/inclusion.verifier | Bin .../resources/join.metadata | 0 .../resources/join.verifier | Bin .../resources/mint.metadata | 0 .../resources/neg-powers-of-beta.metadata | 0 .../resources/neg-powers-of-beta.usrs | Bin .../resources/powers-of-beta-15.metadata | 0 .../resources/powers-of-beta-15.usrs | Bin .../resources/powers-of-beta-16.metadata | 0 .../resources/powers-of-beta-16.usrs | Bin .../resources/powers-of-beta-17.metadata | 0 .../resources/powers-of-beta-18.metadata | 0 .../resources/powers-of-beta-19.metadata | 0 .../resources/powers-of-beta-20.metadata | 0 .../resources/powers-of-beta-21.metadata | 0 .../resources/powers-of-beta-22.metadata | 0 .../resources/powers-of-beta-23.metadata | 0 .../resources/powers-of-beta-24.metadata | 0 .../resources/powers-of-beta-25.metadata | 0 .../resources/powers-of-beta-26.metadata | 0 .../resources/powers-of-beta-27.metadata | 0 .../resources/powers-of-beta-28.metadata | 0 .../resources/powers-of-beta-gamma.metadata | 0 .../resources/powers-of-beta-gamma.usrs | Bin .../resources/set_validator_state.metadata | 0 .../resources/set_validator_state.verifier | Bin .../shifted-powers-of-beta-15.metadata | 0 .../resources/shifted-powers-of-beta-15.usrs | Bin .../shifted-powers-of-beta-16.metadata | 0 .../resources/shifted-powers-of-beta-16.usrs | Bin .../shifted-powers-of-beta-17.metadata | 0 .../shifted-powers-of-beta-18.metadata | 0 .../shifted-powers-of-beta-19.metadata | 0 .../shifted-powers-of-beta-20.metadata | 0 .../shifted-powers-of-beta-21.metadata | 0 .../shifted-powers-of-beta-22.metadata | 0 .../shifted-powers-of-beta-23.metadata | 0 .../shifted-powers-of-beta-24.metadata | 0 .../shifted-powers-of-beta-25.metadata | 0 .../shifted-powers-of-beta-26.metadata | 0 .../shifted-powers-of-beta-27.metadata | 0 .../shifted-powers-of-beta-28.metadata | 0 .../resources/split.metadata | 0 .../resources/split.verifier | Bin .../resources/transfer_private.metadata | 0 .../resources/transfer_private.verifier | Bin .../transfer_private_to_public.metadata | 0 .../transfer_private_to_public.verifier | Bin .../resources/transfer_public.metadata | 0 .../resources/transfer_public.verifier | Bin .../transfer_public_to_private.metadata | 0 .../transfer_public_to_private.verifier | Bin .../unbond_delegator_as_validator.metadata | 0 .../unbond_delegator_as_validator.verifier | Bin .../resources/unbond_public.metadata | 0 .../resources/unbond_public.verifier | Bin synthesizer/benches/kary_merkle_tree.rs | 6 +- synthesizer/process/src/execute.rs | 2 +- synthesizer/process/src/finalize.rs | 2 +- synthesizer/process/src/lib.rs | 4 +- .../process/src/stack/authorization/mod.rs | 2 +- synthesizer/process/src/tests/test_credits.rs | 4 +- synthesizer/process/src/tests/test_execute.rs | 26 +- synthesizer/program/benches/instruction.rs | 342 ++--- synthesizer/program/src/bytes.rs | 4 +- synthesizer/program/src/closure/bytes.rs | 4 +- synthesizer/program/src/closure/input/mod.rs | 4 +- .../program/src/closure/input/parse.rs | 4 +- synthesizer/program/src/closure/mod.rs | 2 +- synthesizer/program/src/closure/output/mod.rs | 4 +- .../program/src/closure/output/parse.rs | 4 +- synthesizer/program/src/closure/parse.rs | 4 +- synthesizer/program/src/finalize/bytes.rs | 4 +- synthesizer/program/src/finalize/input/mod.rs | 4 +- .../program/src/finalize/input/parse.rs | 4 +- synthesizer/program/src/finalize/mod.rs | 2 +- synthesizer/program/src/finalize/parse.rs | 4 +- synthesizer/program/src/function/bytes.rs | 4 +- synthesizer/program/src/function/input/mod.rs | 4 +- .../program/src/function/input/parse.rs | 4 +- synthesizer/program/src/function/mod.rs | 2 +- .../program/src/function/output/mod.rs | 4 +- .../program/src/function/output/parse.rs | 4 +- synthesizer/program/src/function/parse.rs | 4 +- synthesizer/program/src/import/mod.rs | 4 +- synthesizer/program/src/import/parse.rs | 4 +- synthesizer/program/src/lib.rs | 4 +- .../program/src/logic/command/await_.rs | 4 +- .../program/src/logic/command/branch.rs | 4 +- .../program/src/logic/command/contains.rs | 4 +- synthesizer/program/src/logic/command/get.rs | 4 +- .../program/src/logic/command/get_or_use.rs | 4 +- synthesizer/program/src/logic/command/mod.rs | 4 +- .../program/src/logic/command/position.rs | 4 +- .../program/src/logic/command/rand_chacha.rs | 4 +- .../program/src/logic/command/remove.rs | 4 +- synthesizer/program/src/logic/command/set.rs | 4 +- .../src/logic/finalize_operation/mod.rs | 4 +- .../program/src/logic/instruction/bytes.rs | 4 +- .../program/src/logic/instruction/mod.rs | 4 +- .../src/logic/instruction/operand/mod.rs | 4 +- .../src/logic/instruction/operand/parse.rs | 4 +- .../src/logic/instruction/operation/assert.rs | 4 +- .../src/logic/instruction/operation/async_.rs | 4 +- .../src/logic/instruction/operation/call.rs | 4 +- .../src/logic/instruction/operation/cast.rs | 4 +- .../src/logic/instruction/operation/commit.rs | 4 +- .../src/logic/instruction/operation/hash.rs | 4 +- .../src/logic/instruction/operation/is.rs | 4 +- .../src/logic/instruction/operation/macros.rs | 4 +- .../instruction/operation/sign_verify.rs | 4 +- .../program/src/logic/instruction/parse.rs | 4 +- synthesizer/program/src/mapping/bytes.rs | 4 +- synthesizer/program/src/mapping/key/mod.rs | 4 +- synthesizer/program/src/mapping/key/parse.rs | 4 +- synthesizer/program/src/mapping/parse.rs | 4 +- synthesizer/program/src/mapping/value/mod.rs | 4 +- .../program/src/mapping/value/parse.rs | 4 +- synthesizer/program/src/parse.rs | 4 +- synthesizer/program/src/serialize.rs | 4 +- synthesizer/program/tests/helpers/sample.rs | 4 +- .../program/tests/instruction/assert.rs | 4 +- .../program/tests/instruction/commit.rs | 4 +- synthesizer/program/tests/instruction/hash.rs | 4 +- synthesizer/program/tests/instruction/is.rs | 4 +- synthesizer/snark/src/certificate/parse.rs | 4 +- synthesizer/snark/src/lib.rs | 8 +- synthesizer/snark/src/proof/parse.rs | 4 +- synthesizer/src/vm/execute.rs | 4 +- synthesizer/src/vm/helpers/macros.rs | 16 +- synthesizer/src/vm/helpers/rewards.rs | 2 +- synthesizer/src/vm/mod.rs | 30 +- synthesizer/tests/utilities/mod.rs | 2 +- vm/cli/commands/mod.rs | 2 +- vm/cli/helpers/env.rs | 2 +- vm/file/aleo.rs | 2 +- vm/file/avm.rs | 2 +- vm/file/prover.rs | 2 +- vm/file/verifier.rs | 2 +- vm/package/clean.rs | 2 +- vm/package/deploy.rs | 2 +- vm/package/is_build_required.rs | 8 +- vm/package/mod.rs | 10 +- wasm/src/tests.rs | 6 +- 357 files changed, 2379 insertions(+), 2059 deletions(-) rename console/network/src/{testnet3.rs => mainnet_v0.rs} (89%) rename parameters/scripts/{testnet3 => mainnet}/credits.sh (62%) create mode 100755 parameters/scripts/mainnet/inclusion.sh delete mode 100755 parameters/scripts/testnet3/inclusion.sh rename parameters/src/{testnet3 => mainnet}/genesis.rs (100%) rename parameters/src/{testnet3 => mainnet}/mod.rs (90%) rename parameters/src/{testnet3 => mainnet}/powers.rs (100%) rename parameters/src/{testnet3 => mainnet}/resources/beta-h.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/beta-h.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/block.genesis (100%) rename parameters/src/{testnet3 => mainnet}/resources/bond_public.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/bond_public.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/claim_unbond_public.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/claim_unbond_public.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/fee_private.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/fee_private.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/fee_public.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/fee_public.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/genesis.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/inclusion.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/inclusion.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/join.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/join.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/mint.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/neg-powers-of-beta.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/neg-powers-of-beta.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-15.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-15.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-16.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-16.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-17.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-18.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-19.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-20.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-21.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-22.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-23.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-24.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-25.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-26.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-27.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-28.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-gamma.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/powers-of-beta-gamma.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/set_validator_state.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/set_validator_state.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-15.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-15.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-16.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-16.usrs (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-17.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-18.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-19.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-20.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-21.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-22.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-23.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-24.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-25.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-26.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-27.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/shifted-powers-of-beta-28.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/split.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/split.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_private.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_private.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_private_to_public.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_private_to_public.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_public.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_public.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_public_to_private.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/transfer_public_to_private.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/unbond_delegator_as_validator.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/unbond_delegator_as_validator.verifier (100%) rename parameters/src/{testnet3 => mainnet}/resources/unbond_public.metadata (100%) rename parameters/src/{testnet3 => mainnet}/resources/unbond_public.verifier (100%) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 32054890db..c2e1481726 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -3,7 +3,7 @@ name: Run snarkVM Benchmarks on: push: branches: - - 'testnet3' + - 'mainnet' jobs: # Run benchmarks and stores the output to a file diff --git a/README.md b/README.md index 81bf265b44..142fa532db 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@
-
+
diff --git a/algorithms/src/polycommit/kzg10/data_structures.rs b/algorithms/src/polycommit/kzg10/data_structures.rs
index 495e817788..0ceae0b654 100644
--- a/algorithms/src/polycommit/kzg10/data_structures.rs
+++ b/algorithms/src/polycommit/kzg10/data_structures.rs
@@ -18,7 +18,7 @@ use crate::{
};
use snarkvm_curves::{AffineCurve, PairingCurve, PairingEngine, ProjectiveCurve};
use snarkvm_fields::{ConstraintFieldError, ToConstraintField, Zero};
-use snarkvm_parameters::testnet3::PowersOfG;
+use snarkvm_parameters::mainnet::PowersOfG;
use snarkvm_utilities::{
borrow::Cow,
error,
diff --git a/circuit/environment/src/circuit.rs b/circuit/environment/src/circuit.rs
index 1fde647271..56ff721b0c 100644
--- a/circuit/environment/src/circuit.rs
+++ b/circuit/environment/src/circuit.rs
@@ -19,7 +19,7 @@ use core::{
fmt,
};
-type Field =