File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/main/java/com/ethercamp/harmony/config Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ dependencies {
108
108
exclude group : " org.ethereum" , module : " solcJ-all"
109
109
}
110
110
111
- compile " com.ethercamp:contract-data:1.9.2 "
111
+ compile " com.ethercamp:contract-data:1.9.3 "
112
112
113
113
compile " org.projectlombok:lombok:1.16.20"
114
114
compile " com.maxmind.geoip:geoip-api:1.3.1"
Original file line number Diff line number Diff line change 1
1
package com .ethercamp .harmony .config ;
2
2
3
+ import com .ethercamp .contrdata .storage .dictionary .StorageDictionaryVmHook ;
3
4
import com .ethercamp .harmony .service .ClientMessageService ;
4
5
import com .ethercamp .harmony .service .ClientMessageServiceDummy ;
5
6
import com .ethercamp .harmony .service .ClientMessageServiceImpl ;
@@ -149,10 +150,11 @@ DbSource<byte[]> contractSettingsStorage() {
149
150
}
150
151
151
152
@ Bean
152
- ContractsService contractsService () {
153
+ ContractsService contractsService (StorageDictionaryVmHook vmHook ) {
153
154
if (props .isContractStorageEnabled ()) {
154
155
return new ContractsServiceImpl ();
155
156
} else {
157
+ vmHook .disable ();
156
158
return new DisabledContractService (contractSettingsStorage ());
157
159
}
158
160
}
You can’t perform that action at this time.
0 commit comments