public BingoGameContractTestBase() { AsyncHelper.RunSync(() => GetContractZeroTester(BootMinerKeyPair) .DeploySystemSmartContract.SendAsync( new SystemContractDeploymentInput { Category = KernelConstants.CodeCoverageRunnerCategory, Code = ByteString.CopyFrom(File.ReadAllBytes(typeof(TokenContract).Assembly.Location)), Name = TokenConverterSmartContractAddressNameProvider.Name })); AsyncHelper.RunSync(() => GetContractZeroTester(BootMinerKeyPair) .DeploySystemSmartContract.SendAsync( new SystemContractDeploymentInput { Category = KernelConstants.CodeCoverageRunnerCategory, Code = ByteString.CopyFrom(File.ReadAllBytes(typeof(AEDPoSContract).Assembly.Location)), Name = ConsensusSmartContractAddressNameProvider.Name })); BingoGameContractAddress = AsyncHelper.RunSync(() => GetContractZeroTester(BootMinerKeyPair) .DeploySystemSmartContract.SendAsync( new SystemContractDeploymentInput { Category = KernelConstants.CodeCoverageRunnerCategory, Code = ByteString.CopyFrom(File.ReadAllBytes(typeof(BingoGameContract).Assembly.Location)), Name = ConsensusSmartContractAddressNameProvider.Name, TransactionMethodCallList = GenerateBingoContractMethodCallList() })).Output; BingoContractStub = GetBingoContractTester(BootMinerKeyPair); }
public BingoGameContractTestBase() { AsyncHelper.RunSync(InitialContracts); BingoContractStub = GetBingoContractTester(BootMinerKeyPair); }
public BingoGameContractTestBase() { BingoContractStub = GetBingoContractTester(BootMinerKeyPair); }