Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions metadata/v1.11.1/step_1_increase_max_txn_gas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Increase max txn gas temporarily for framework upgrade",
"description": "Increase max txn gas temporarily for framework upgrade",
"source_code_url": "https://github.com/aptos-labs/aptos-core",
"discussion_url": "https://github.com/aptos-labs/aptos-core/releases/tag/aptos-node-v1.11.2"
}
6 changes: 6 additions & 0 deletions metadata/v1.11.1/step_2_upgrade_framework.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Multi-step proposal to upgrade mainnet framework to v1.11",
"description": "This includes changes in https://github.com/aptos-labs/aptos-core/commits/aptos-release-v1.11",
"source_code_url": "https://github.com/aptos-labs/aptos-core",
"discussion_url": "https://github.com/aptos-labs/aptos-core/releases/tag/aptos-node-v1.11.2"
}
1,367 changes: 1,367 additions & 0 deletions sources/v1.11.1/step_1_increase_max_txn_gas/0-gas-schedule.move

Large diffs are not rendered by default.

1,863 changes: 1,863 additions & 0 deletions sources/v1.11.1/step_2_upgrade_framework/0-move-stdlib.move

Large diffs are not rendered by default.

8,746 changes: 8,746 additions & 0 deletions sources/v1.11.1/step_2_upgrade_framework/1-aptos-stdlib.move

Large diffs are not rendered by default.

20,484 changes: 20,484 additions & 0 deletions sources/v1.11.1/step_2_upgrade_framework/2-aptos-framework.move

Large diffs are not rendered by default.

2,343 changes: 2,343 additions & 0 deletions sources/v1.11.1/step_2_upgrade_framework/3-aptos-token.move

Large diffs are not rendered by default.

2,570 changes: 2,570 additions & 0 deletions sources/v1.11.1/step_2_upgrade_framework/4-aptos-token-objects.move

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Script hash: 6bdc1881
// Initialize on-chain randomness resources.
script {
use aptos_framework::aptos_governance;
use aptos_framework::config_buffer;
use aptos_framework::dkg;
use aptos_framework::randomness;
use aptos_framework::randomness_config;
use aptos_framework::reconfiguration_state;

fun main(proposal_id: u64) {
let framework = aptos_governance::resolve_multi_step_proposal(
proposal_id,
@0x1,
vector[157u8,50u8,36u8,28u8,176u8,183u8,64u8,180u8,227u8,173u8,65u8,142u8,76u8,249u8,84u8,17u8,240u8,63u8,105u8,130u8,1u8,231u8,65u8,1u8,214u8,67u8,11u8,125u8,124u8,205u8,37u8,155u8,],
);
config_buffer::initialize(&framework); // on-chain config buffer
dkg::initialize(&framework); // DKG state holder
reconfiguration_state::initialize(&framework); // reconfiguration in progress global indicator
randomness::initialize(&framework); // randomness seed holder

let config = randomness_config::new_off();
randomness_config::initialize(&framework, config);
}
}
1,375 changes: 1,375 additions & 0 deletions sources/v1.11.1/step_2_upgrade_framework/6-gas-schedule.move

Large diffs are not rendered by default.