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 (#899)
* 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). * Add Apache License header to precompiles.rs * Add Apache License header to precompiles.rs * chore: update tests * fix: tests --------- Co-authored-by: drewstone <[email protected]> Co-authored-by: 1xstj <[email protected]>
- Loading branch information