-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature flag to compile contracts for
pallet-revive
(#2319)
* hack together RiscV support for ink! -- works! * fix: various fixes for xcm and pallet-revive-uapi integration (#1) * fix(revive): apply xcm fix from pallet_contracts * build(deps): align pallet-revive-uapi dependency * fix: update pallet-revive-uapi integration * chore: remove workspace.xml * fix: improve output type length handling * fix: various fixes and improvements * fix(caller): use to_account_id host fn * chore: update cargo.lock * Introduce feature flag `revive` * Cleanup prior commits * Update changelog * Debugging faulty `std` import * Make sure `panic_impl` of `sp-io` is not enabled * Clean up changes * Update `Cargo.lock` * Make `[build.rustflags]` an array * Replace `panic`'s with `todo`'s * Revert changes to `Cargo.toml`'s * Convert spaces to tabs * Add `caller_is_root` * Introduce `#[ink::polkadot_derive]` re-export * Forward `std` * Configure `sp-io` * Configure `sp-io` * Forward `std` * Remove unused attribute * Use correct `ErrorCode` enum * Update test fixtures * Fix clippy errors --------- Co-authored-by: Peter White <petras9789@gmail.com> Co-authored-by: Frank Bell <60948618+evilrobot-01@users.noreply.github.com>
- Loading branch information
1 parent
8ac9899
commit b195f58
Showing
37 changed files
with
1,497 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
[env] | ||
# We need to enable `RUSTC_BOOTSTRAP` so that the nightly ink! | ||
# features still work on stable. | ||
RUSTC_BOOTSTRAP = "1" | ||
RUSTC_BOOTSTRAP = "1" | ||
|
||
[build] | ||
rustflags = ["--cfg", "substrate_runtime"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.