Skip to content

3.0.0 party 3/6: framework features - #670

Closed
kubaplas wants to merge 7 commits into
party/2-livenet-clientfrom
party/3-framework-features
Closed

kubaplas wants to merge 7 commits into
party/2-livenet-clientfrom
party/3-framework-features

Conversation

@kubaplas

Copy link
Copy Markdown
Contributor

Layer 3 of 6 of the 3.0.0 party stack (bottom-up: 1 → 2 → 3 → 4 → 5 → 6, bottom is #668). Each layer targets the branch below; merge from the bottom. The top of the stack is the tree verified on OdraVM, CasperVM and NCTL; docs are in odradev/odradev.github.io#58 and #59, the migration guide covers every breaking change.

Closes #589, closes #529, closes #616, closes #566, closes #572, closes #385.

🤖 Generated with Claude Code

kubaplas and others added 7 commits September 18, 2026 10:16
advance_block_time / advance_with_auctions take a core::time::Duration,
auction_delay / unbonding_delay return one. Backends keep milliseconds.
The TimeLockWallet example passed a 'seconds' constant to a millisecond
API; it now says what it means.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…kens (#529)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Prints on OdraVM and livenet getters unconditionally; inside wasm it
compiles to casper_print only with odra's test-support feature and to
nothing otherwise. The examples crate enables it and TestingContract
uses it; verified on both VMs and by inspecting the wasm imports.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ContractLoaderExt::load_from_file / load_from_file_named /
load_from_default_file resolve a contract's package hash from the TOML
written by the deploy command. Missing or malformed files are errors,
not an empty container.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…572)

ODRA_CASPER_LIVENET_STATE_ROOT_HASH pins every read of CasperClient to
a past root and refuses transactions. odra-cli exposes it as a global
--state-root-hash flag, applied before the host environment is built.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
HasIdent::contract_name() returns the name from #[odra::module(name = ..)]
(the ident otherwise); InstallConfig and UpgradeConfig use it for the
<name>_package_hash named key. Host refs delegate it with a fully
qualified call so a name() entry point cannot shadow it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kubaplas kubaplas mentioned this pull request Sep 18, 2026
@kubaplas
kubaplas added this pull request to stack #674 September 18, 2026 08:24
@kubaplas
kubaplas removed this pull request from stack #674 September 18, 2026 08:57
@kubaplas

Copy link
Copy Markdown
Contributor Author

Closing: the 3.0.0 party goes back to a single pull request, #664. The commits here are the same work, so nothing is lost.

@kubaplas kubaplas closed this Sep 18, 2026
@kubaplas
kubaplas deleted the party/3-framework-features branch September 18, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant