Skip to content

Conversation

@pkhry
Copy link

@pkhry pkhry commented Nov 30, 2025

Description

depends on #424

array-bytes = { version = "6.2.2", default-features = false }
codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" }
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "pkhry/external_transient_storage", default-features = false, features = [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to use this ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will use latest master as soon as the pr is merged

pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
pub const NativeToEthRatio: u32 = 1_000_000;
pub const GasScale : u32 = 1_000_000;
pub const GasScale : u32 = 100_000_000;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it fix?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OutOfGas errors with balancer v3

let ctx = get_context_ref(ctx);
let mut state = ctx.externalties.0.lock().unwrap();
let _ = state.externalities.ext().storage_rollback_transaction();
state.transient_storage.rollback_transaction();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we could wrap this functionality and just call rollback_transaction()
instead of calling rollback on transient storage and storage?
Similarly we could do it for start_transaction. WDYT?

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.

5 participants