internal async Task <TransactionResult> ApproveWithTesterAsync( ContractTester <BasicContractZeroTestAElfModule> tester, Address contractAddress, Hash proposalId) { return(await tester.ExecuteContractWithMiningAsync(contractAddress, nameof(AuthorizationContractContainer.AuthorizationContractStub.Approve), proposalId)); }
public static async Task <TransactionResult> ExecuteConsensusContractMethodWithMiningAsync( this ContractTester <DPoSSideChainTestAElfModule> contractTester, string methodName, IMessage input) { return(await contractTester.ExecuteContractWithMiningAsync(contractTester.GetConsensusContractAddress(), methodName, input)); }