-
Notifications
You must be signed in to change notification settings - Fork 722
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pallet-revive: disable host functions not in revive recompiler (#6844)
Resolves #6720 List of used host functions in PolkaVM recompiler is here https://github.com/paritytech/revive/blob/main/crates/runtime-api/src/polkavm_imports.c#L65 --------- Co-authored-by: DavidK <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
19 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: 'pallet-revive: disable host functions unused in solidity PolkaVM compiler' | ||
doc: | ||
- audience: Runtime Dev | ||
description: Disables host functions in contracts that are not enabled | ||
in solidity PolkaVM compiler to reduce surface of possible attack vectors. | ||
crates: | ||
- name: pallet-revive | ||
bump: major |
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