Skip to content

Commit

Permalink
remarks: Add new enum for extrinsics (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian authored Aug 20, 2024
1 parent c55e74f commit 6d5596f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runtime/common/src/remarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

use cfg_primitives::{LoanId, PoolId};
use cfg_primitives::{BlockNumber, Hash, LoanId, PoolId};
use frame_support::{parameter_types, BoundedVec};
use scale_info::TypeInfo;
use sp_runtime::codec::{Decode, Encode};
Expand All @@ -30,6 +30,9 @@ pub enum Remark {

/// Association with a loan
Loan(PoolId, LoanId),

/// Association with an extrinsic
Extrinsic(BlockNumber, Hash),
}

impl Default for Remark {
Expand Down

0 comments on commit 6d5596f

Please sign in to comment.