feat(revive): v0.0.37 — pallet-revive workspace scaffold + ChainAction Phase 3 extension 🎉
Phase 3 Slice 3.1 Ship 1 SCAFFOLD shipped. Path A inicio post sesión 3+
extended histórica (35 ships v0.0.1→v0.0.36 + Slice 2e WASM RESUELTO). David
autorizó "vamos con todas en orden desde A" — pallet-revive smart contracts
PolkaVM RISC-V + ink! v6 + Solidity per SBS-5 ratificado (supersedes CHN-6 v1.0).
Cambios:
- Cargo.toml workspace.dependencies: pallet-revive 0.12.2 + pallet-revive-uapi 0.13.0
Version pin canonical para stable2512-3 verificado vía
github.com/paritytech/polkadot-sdk/blob/polkadot-stable2512-3/substrate/frame/revive/Cargo.toml
(latest 0.17.0 requiere bump Substrate generation — scope Phase 8+).
- crates/origin-chain-types/src/actions.rs: ChainAction enum extension OCAFB-2
semver-respecting con 3 nuevas variants ordinals 4/5/6:
* DeployContract (pallet-revive::instantiate)
* CallContract (pallet-revive::call)
* UploadContractCode (pallet-revive::upload_code sin instantiate)
Ordinals 0-3 {Read/Write/Compute/Transfer} preservados intactos. Wire format
stable canonical — name() snake_case + ordinal() u8 + from_ordinal() forward-compat
+ serde + scale-codec roundtrip todos actualizados. +1 test
chain_action_phase_3_variants_distinct_from_legacy.
- crates/origin-chain-fees/src/fee_schedule.rs: subsidy_basis_points + entitlement_unlocked
matches updated exhaustivamente para 3 nuevas variants. Mapping interim conservador
(DeployContract/UploadContractCode ~= Write semantics, CallContract ~= Compute).
Refinement Phase 3.2 con Mathi OitFeeSchedule extension post-OCAFB ratify +
measurements empíricos gas/deposit reales.
Verificación:
- cargo check --workspace clean (0 errors, warnings pre-existentes)
- cargo test --workspace: 203 tests verde (baseline 202 + 1 new test) 0 failures
- ChainAction actions::tests 7/7 verde (4 originales updated + 3 nuevos covered)
Próximo Ship 2 v0.0.38: pallet-revive wired runtime Index 11 (27 Config types
associated types + parameter_types canonical Asset Hub Westend reference).
⚓ Path A Phase 3 kickoff. La nave continúa zarpando.
🤖 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
199636ac05
commit
ec5b5bd2b2
3 files changed
+127
-20
No files matched your search
+10
@@ -71,6 +71,16 @@ pallet-grandpa = { version = "40.0.0", default-features = false }
|
||||
# FRAME pallets canonical Phase 1.5 — Session rotation per CHN-1 4h epochs
|
||||
pallet-session = { version = "40.0.1", default-features = false }
|
||||
|
||||
# ============================================================
|
||||
# Phase 3 — pallet-revive smart contracts per SBS-5 ratified
|
||||
# (supersedes CHN-6 v1.0 → CHN-6 v2.0 PolkaVM + ink! v6 + Solidity)
|
||||
# Version pin: 0.12.2 (canonical para stable2512-3, verified vía
|
||||
# github.com/paritytech/polkadot-sdk/blob/polkadot-stable2512-3/substrate/frame/revive/Cargo.toml).
|
||||
# Bump a 0.17.0 scope Phase 8+ (post-mainnet Substrate generation upgrade).
|
||||
# ============================================================
|
||||
pallet-revive = { version = "0.12.2", default-features = false }
|
||||
pallet-revive-uapi = { version = "0.13.0", default-features = false, features = ["scale"] }
|
||||
|
||||
# pallet-identity DEFERRED a Phase 2.7 — canonical decision empírica 2026-05-21:
|
||||
# pallet-identity 41.0.0 usa ReservableCurrency trait (deprecated en stable2512,
|
||||
# replaced por fungible::Mutate). Compat work canonical es scope Phase 2.7 cuando
|
||||
|
||||
Reference in new issue
Block a user