Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: contracts pallet on Kintsugi #1114

Merged
merged 9 commits into from
Jul 26, 2023
Merged

feat: contracts pallet on Kintsugi #1114

merged 9 commits into from
Jul 26, 2023

Conversation

sander2
Copy link
Member

@sander2 sander2 commented Jun 30, 2023

Currently not working, due to us having an existential deposit of zero. The contracts pallet is attempting to create an account here, but due to the ED being zero, that is a no-op, so the inc_consumers afterwards fails.

We could work around this by providing the pallet with a customized Currency that has a non-zero ED, but I'm a bit worried this may have unforeseen consequences..

Currently on top of the polkadot 0.9.42 branch, I can rebase after that is merged

Closes #983

@sander2 sander2 marked this pull request as ready for review July 20, 2023 15:25
Copy link
Member

@gregdhill gregdhill left a comment

Choose a reason for hiding this comment

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

Please also fix merge conflicts

contracts/btc_swap/Cargo.toml Outdated Show resolved Hide resolved
contracts/btc_swap/lib.rs Outdated Show resolved Hide resolved
contracts/btc_swap/lib.rs Outdated Show resolved Hide resolved
contracts/btc_swap/lib.rs Outdated Show resolved Hide resolved
contracts/hello_world/Cargo.toml Outdated Show resolved Hide resolved
crates/bitcoin/Cargo.toml Outdated Show resolved Hide resolved
parachain/runtime/interlay/src/lib.rs Outdated Show resolved Hide resolved
parachain/runtime/runtime-tests/src/parachain/contracts.rs Outdated Show resolved Hide resolved
@gregdhill gregdhill merged commit f2f48a1 into master Jul 26, 2023
3 checks passed
@gregdhill gregdhill deleted the kintsugi-contracts branch July 26, 2023 11:23
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.

Contracts (ink!) support
3 participants