예제 #1
0
        public CodeUpdatedLogEventProcessor(ISmartContractAddressService smartContractAddressService,
                                            ISmartContractRegistrationProvider smartContractRegistrationProvider,
                                            ISmartContractRegistrationInStateProvider smartContractRegistrationInStateProvider,
                                            ISmartContractExecutiveService smartContractExecutiveService)
        {
            _smartContractAddressService              = smartContractAddressService;
            _smartContractRegistrationProvider        = smartContractRegistrationProvider;
            _smartContractRegistrationInStateProvider = smartContractRegistrationInStateProvider;
            _smartContractExecutiveService            = smartContractExecutiveService;

            Logger = NullLogger <CodeUpdatedLogEventProcessor> .Instance;
        }
 public SmartContractRegistrationInStateProviderTests()
 {
     _smartContractRegistrationInStateProvider = GetRequiredService <ISmartContractRegistrationInStateProvider>();
     _defaultContractZeroCodeProvider          = GetRequiredService <IDefaultContractZeroCodeProvider>();
     _smartContractExecutionHelper             = GetRequiredService <SmartContractExecutionHelper>();
 }