From 7e1889efb51862c32ce100e22062c4cf5acaa23f Mon Sep 17 00:00:00 2001 From: Giorgi Lagidze Date: Fri, 11 Oct 2024 16:40:08 +0400 Subject: [PATCH] rename' --- packages/contracts/src/TokenVoting.sol | 2 +- packages/contracts/src/mocks/MajorityVotingMock.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/contracts/src/TokenVoting.sol b/packages/contracts/src/TokenVoting.sol index 0d7f83bf..bbe69260 100644 --- a/packages/contracts/src/TokenVoting.sol +++ b/packages/contracts/src/TokenVoting.sol @@ -211,7 +211,7 @@ contract TokenVoting is IMembership, MajorityVotingBase { } /// @inheritdoc IProposal - function createProposalParamsABI() external pure override returns (string memory) { + function customProposalParamsABI() external pure override returns (string memory) { return "(uint256 allowFailureMap, uint8 voteOption, bool tryEarlyExecution)"; } diff --git a/packages/contracts/src/mocks/MajorityVotingMock.sol b/packages/contracts/src/mocks/MajorityVotingMock.sol index 2c98e3e3..56d88418 100644 --- a/packages/contracts/src/mocks/MajorityVotingMock.sol +++ b/packages/contracts/src/mocks/MajorityVotingMock.sol @@ -48,7 +48,7 @@ contract MajorityVotingMock is MajorityVotingBase { ); } - function createProposalParamsABI() external pure override returns (string memory) { + function customProposalParamsABI() external pure override returns (string memory) { return "[uint256 allowFailureMap, uint8 voteOption, bool tryEarlyExecution]"; }