Skip to content

Commit 14fe005

Browse files
authored
Merge branch 'main' into feature/da-sequencer-node
2 parents f3f5a01 + 750f7a4 commit 14fe005

31 files changed

+240
-3557
lines changed

.github/workflows/build-push-container.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
jobs:
1919
container-build:
2020
name: Build ${{ inputs.container_name }} ${{ matrix.architecture }}
21+
if: >
22+
(github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'cicd:movement-containers')
23+
|| github.ref == 'refs/heads/main'
24+
|| startsWith(github.ref, 'refs/tags/')
2125
strategy:
2226
matrix:
2327
architecture: [x86_64, arm64]
@@ -36,7 +40,6 @@ jobs:
3640
exit 0
3741
fi
3842
fi
39-
4043
- name: Checkout repository
4144
uses: actions/checkout@v4
4245
with:

.gitmodules

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
[submodule "protocol-units/dispute/lib/forge-std"]
2-
path = protocol-units/settlement/mcr/contracts/lib/forge-std
3-
url = https://github.com/foundry-rs/forge-std
4-
[submodule "protocol-units/dispute/lib/openzeppelin-contracts"]
5-
path = protocol-units/settlement/mcr/contracts/lib/openzeppelin-contracts
6-
url = https://github.com/OpenZeppelin/openzeppelin-contracts
7-
[submodule "protocol-units/dispute/lib/murky"]
8-
path = protocol-units/settlement/mcr/contracts/lib/murky
9-
url = https://github.com/dmfxyz/murky
10-
111
[submodule "protocol-units/settlement/mcr/contracts/lib/openzeppelin-foundry-upgrades"]
122
path = protocol-units/settlement/mcr/contracts/lib/openzeppelin-foundry-upgrades
133
url = https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades

Cargo.lock

Lines changed: 187 additions & 187 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,17 @@ borsh = { version = "0.10" } # todo: internalize jmt and bump
161161

162162
### We use a forked version so that we can override dependency versions. This is required
163163
### to be avoid dependency conflicts with other Sovereign Labs crates.
164-
aptos-api = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
165-
aptos-api-types = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
166-
aptos-bitvec = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
167-
aptos-block-executor = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
168-
aptos-cached-packages = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
169-
aptos-config = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
170-
aptos-consensus-types = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
171-
aptos-crypto = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67", features = [
172-
"cloneable-private-keys",
164+
aptos-api = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
165+
aptos-api-types = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
166+
aptos-bitvec = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
167+
aptos-block-executor = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
168+
aptos-cached-packages = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
169+
aptos-config = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
170+
aptos-consensus-types = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355" }
171+
aptos-crypto = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "c34b9e9347a0e4c0440930796ba06555e8be3355", features = [
172+
"cloneable-private-keys",
173173
] }
174+
174175
aptos-crypto-derive = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
175176
aptos-db = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
176177
aptos-executor = { git = "https://github.com/movementlabsxyz/aptos-core", rev = "1d1cdbbd7fabb80dcb95ba5e23213faa072fab67" }
@@ -220,9 +221,9 @@ move-table-extension = { git = "https://github.com/diem/move" }
220221
move-core-types = { git = "https://github.com/diem/move" }
221222

222223
secp256k1 = { version = "0.27", default-features = false, features = [
223-
"global-context",
224-
"rand-std",
225-
"recovery",
224+
"global-context",
225+
"rand-std",
226+
"recovery",
226227
] }
227228

228229
## Celestia Dependencies
@@ -232,15 +233,15 @@ celestia-types = { git = "https://github.com/eigerco/lumina", rev = "c6e5b7f5e3a
232233
# External Dependencies
233234

234235
alloy = { git = "https://github.com/alloy-rs/alloy.git", package = "alloy", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2", features = [
235-
"node-bindings",
236-
"rpc-types-trace",
237-
"json-rpc",
238-
"json-abi",
239-
"rpc-client",
240-
"signers",
241-
"signer-yubihsm",
242-
"pubsub",
243-
"providers",
236+
"node-bindings",
237+
"rpc-types-trace",
238+
"json-rpc",
239+
"json-abi",
240+
"rpc-client",
241+
"signers",
242+
"signer-yubihsm",
243+
"pubsub",
244+
"providers",
244245
] }
245246
alloy-rpc-types-eth = "0.1.3"
246247
alloy-eips = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2" }
@@ -249,15 +250,15 @@ alloy-network = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b17
249250
alloy-primitives = { version = "0.7.2", default-features = false }
250251
alloy-consensus = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2" }
251252
alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2", features = [
252-
"ws",
253+
"ws",
253254
] }
254255
alloy-rlp = "0.3.5"
255256
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2" }
256257
alloy-sol-types = { version = "0.7.2", features = ["json"] }
257258
alloy-signer = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2" }
258259
alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2" }
259260
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2", features = [
260-
"reqwest-rustls-tls",
261+
"reqwest-rustls-tls",
261262
] }
262263
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy.git", rev = "83343b172585fe4e040fb104b4d1421f58cbf9a2" }
263264

@@ -282,8 +283,8 @@ fail = "0.5.1"
282283
futures = "0.3.17"
283284
hashbrown = "0.14.3"
284285
hex = { version = "0.4.3", default-features = false, features = [
285-
"alloc",
286-
"serde",
286+
"alloc",
287+
"serde",
287288
] }
288289
ics23 = { version = "0.11.0" }
289290
k256 = { version = "0.13.3" }
@@ -310,10 +311,10 @@ reqwest = "0.12.4"
310311
risc0-build = "0.20"
311312
risc0-zkvm = { version = "0.21", features = ["std", "getrandom"] }
312313
rocksdb = { version = "0.22.0", features = [
313-
"snappy",
314-
"lz4",
315-
"zstd",
316-
"zlib",
314+
"snappy",
315+
"lz4",
316+
"zstd",
317+
"zlib",
317318
], default-features = false }
318319
schemars = { version = "0.8.16", features = ["derive"] }
319320
serde_with = "3.7.0"

protocol-units/execution/maptos/framework/releases/pre-l1-merge/src/cached.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ pub mod full {
5858
// Or, I suppose you can keep and GOVERNED_GAS_POOL feature flag and a GOVERNED_GAS_POOL_V2 feature flag and just make sure you're disabling the former and enabling the latter. Thereafter, it won't matter what happens to the GOVERNED_GAS_POOL feature flag, i.e., it can be replaced.
5959
aptos_feature_flags.push(AptosFeatureFlag::GOVERNED_GAS_POOL);
6060

61+
// Note: before the upgrade to the newest version to the Aptos framework
62+
// we need to activate features that are currently active on the Aptos testnet
63+
// See: https://github.com/movementlabsxyz/movement-migration/issues/30#issuecomment-2862738427
64+
// aptos_feature_flags.push(AptosFeatureFlag::PERIODICAL_REWARD_RATE_DECREASE);
65+
aptos_feature_flags.push(AptosFeatureFlag::PARTIAL_GOVERNANCE_VOTING);
66+
aptos_feature_flags.push(AptosFeatureFlag::DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING);
67+
aptos_feature_flags.push(AptosFeatureFlag::VM_BINARY_FORMAT_V7);
68+
69+
aptos_feature_flags.push(AptosFeatureFlag::ALLOW_SERIALIZED_SCRIPT_ARGS);
70+
aptos_feature_flags.push(AptosFeatureFlag::ENABLE_ENUM_TYPES);
71+
aptos_feature_flags.push(AptosFeatureFlag::FEDERATED_KEYLESS);
72+
aptos_feature_flags.push(AptosFeatureFlag::TRANSACTION_SIMULATION_ENHANCEMENT);
73+
aptos_feature_flags.push(AptosFeatureFlag::COLLECTION_OWNER);
74+
aptos_feature_flags.push(AptosFeatureFlag::NATIVE_MEMORY_OPERATIONS);
75+
aptos_feature_flags.push(AptosFeatureFlag::ACCOUNT_ABSTRACTION);
76+
6177
Features {
6278
enabled: aptos_feature_flags.into_iter().map(FeatureFlag::from).collect(),
6379
disabled: vec![],

protocol-units/execution/maptos/opt-executor/src/executor/execution.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ mod tests {
248248
transaction_builder::TransactionFactory,
249249
types::{AccountKey, LocalAccount},
250250
};
251+
251252
use aptos_storage_interface::state_view::DbStateViewAtVersion;
252253
use aptos_types::{
253254
account_address::AccountAddress,

protocol-units/settlement/mcr/contracts/foundry.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[profile.default]
2+
via_ir = true
3+
optimizer = true
24
src = "src"
35
out = "out"
46
libs = ["lib"]

protocol-units/settlement/mcr/contracts/script/CoreDeployer.s.sol

Lines changed: 0 additions & 65 deletions
This file was deleted.

protocol-units/settlement/mcr/contracts/script/DeployMOVETokenDev.s.sol

Lines changed: 0 additions & 29 deletions
This file was deleted.

protocol-units/settlement/mcr/contracts/script/MCRDeployer.s.sol

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)