-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the Batch precompile configuration
Fixes #898 Update the Batch precompile configuration to allow only Batch to call Batch. * **runtime/testnet/src/precompiles.rs** - Update the `BatchPrecompile` configuration to be callable only by precompiles from address `2052`. - Ensure the `SubcallWithMaxNesting` is set to `2`. * **runtime/mainnet/src/precompiles.rs** - Update the `BatchPrecompile` configuration to be callable only by precompiles from address `2052`. - Ensure the `SubcallWithMaxNesting` is set to `2`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/tangle-network/tangle/issues/898?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
2 changed files
with
2 additions
and
30 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
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