diff --git a/precompiles/referenda/Referenda.sol b/precompiles/referenda/Referenda.sol index 5039ba767a..13b9c64dbd 100644 --- a/precompiles/referenda/Referenda.sol +++ b/precompiles/referenda/Referenda.sol @@ -52,11 +52,11 @@ interface Referenda { /// @custom:selector 95f9ed68 /// @param trackId The trackId corresponding to the origin from which the proposal is to be /// dispatched. The trackId => origin mapping lives in `runtime/governance/tracks.rs` - /// @param hash Hash of the proposal preimage + /// @param proposal The proposed runtime call /// @param block Block number at which this will be executed function submitAt( uint16 trackId, - bytes memory hash, + bytes memory proposal, uint32 block ) external; @@ -64,11 +64,11 @@ interface Referenda { /// @custom:selector 0a1ecbe9 /// @param trackId The trackId corresponding to the origin from which the proposal is to be /// dispatched. The trackId => origin mapping lives in `runtime/governance/tracks.rs` - /// @param hash Hash of the proposal preimage + /// @param proposal The proposed runtime call /// @param block Block number after which this will be executed function submitAfter( uint16 trackId, - bytes memory hash, + bytes memory proposal, uint32 block ) external;