Skip to content

Commit

Permalink
Rename submitAt.hash and submitAfter.hash to proposal (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgmichel authored Feb 7, 2023
1 parent edf1a33 commit 19dcb00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions precompiles/referenda/Referenda.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,23 @@ 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;

/// @dev Submit a 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;

Expand Down

0 comments on commit 19dcb00

Please sign in to comment.