Skip to content

Commit 247518c

Browse files
authored
Merge pull request #594 from iExecBlockchainComputing/feature/update-dependencies-for-8.1.0
Feature/update dependencies for 8.1.0
2 parents 0c82563 + f60197b commit 247518c

File tree

6 files changed

+23
-8
lines changed

6 files changed

+23
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ All notable changes to this project will be documented in this file.
2424
- Move methods to get event blocks from `iexec-commons-poco`. (#588)
2525
- Rename detectors' methods and fields to match Ongoing/Done standard. (#591)
2626
### Dependency Upgrades
27-
- Upgrade to `iexec-common` 8.1.0-NEXT-SNAPSHOT. (#571 #575 #586)
28-
- Add new `iexec-commons-poco` 2.0.1-NEXT-SNAPSHOT dependency. (#571 #574 #586 #587 #588 #592)
27+
- Upgrade to `iexec-common` 8.2.0. (#571 #575 #586 #594)
28+
- Add new `iexec-commons-poco` 3.0.2 dependency. (#571 #574 #586 #587 #588 #592 #594)
29+
- Upgrade to `iexec-blockchain-adapter-api-library` 8.1.0. (#594)
30+
- Upgrade to `iexec-result-proxy-library` 8.1.0. (#594)
31+
- Upgrade to `iexec-sms-library` 8.1.0. (#594)
2932

3033
## [[8.0.1]](https://github.com/iExecBlockchainComputing/iexec-core/releases/tag/v8.0.1) 2023-03-20
3134

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ No default strategy has been implemented in the [Dockerfile](Dockerfile) at the
7171
```
7272
./gradlew build
7373
```
74+
75+
## License
76+
77+
This repository code is released under the [Apache License 2.0](LICENSE).

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version=8.0.1
2-
iexecCommonVersion=8.1.0-NEXT-SNAPSHOT
3-
iexecCommonsPocoVersion=2.0.1-NEXT-SNAPSHOT
4-
iexecBlockchainAdapterVersion=8.0.1-NEXT-SNAPSHOT
5-
iexecResultVersion=8.0.0-NEXT-SNAPSHOT
6-
iexecSmsVersion=8.0.0-NEXT-SNAPSHOT
2+
iexecCommonVersion=8.2.0
3+
iexecCommonsPocoVersion=3.0.2
4+
iexecBlockchainAdapterVersion=8.1.0
5+
iexecResultVersion=8.1.0
6+
iexecSmsVersion=8.1.0
77

88
nexusUser
99
nexusPassword

src/main/java/com/iexec/core/chain/ChainConfig.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import org.springframework.beans.factory.annotation.Value;
2323
import org.springframework.stereotype.Component;
2424

25+
import java.time.Duration;
26+
2527
@Component
2628
@Getter
2729
@AllArgsConstructor
@@ -37,6 +39,9 @@ public class ChainConfig {
3739
@Value("#{blockchainAdapterService.publicChainConfig.iexecHubContractAddress}")
3840
private String hubAddress;
3941

42+
@Value("#{blockchainAdapterService.publicChainConfig.blockTime}")
43+
private Duration blockTime;
44+
4045
@Value("${chain.privateAddress}")
4146
private String privateChainAddress;
4247

src/main/java/com/iexec/core/chain/Web3jService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@
1919
import com.iexec.commons.poco.chain.Web3jAbstractService;
2020
import org.springframework.stereotype.Service;
2121

22+
import java.time.Duration;
23+
2224
@Service
2325
public class Web3jService extends Web3jAbstractService {
2426

2527
public Web3jService(ChainConfig chainConfig) {
2628
super(
2729
chainConfig.getChainId(),
2830
chainConfig.getPrivateChainAddress(),
31+
chainConfig.getBlockTime(),
2932
chainConfig.getGasPriceMultiplier(),
3033
chainConfig.getGasPriceCap(),
3134
chainConfig.isSidechain()

src/test/java/com/iexec/core/replicate/ReplicateServiceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ void shouldAuthorizeUpdateOnResultUploadFailed() {
10301030
.build();
10311031
UpdateReplicateStatusArgs updateReplicateStatusArgs = UpdateReplicateStatusArgs
10321032
.builder()
1033-
.taskDescription(new TaskDescription())
1033+
.taskDescription(TaskDescription.builder().build())
10341034
.build();
10351035

10361036
assertThat(replicatesService.canUpdateReplicateStatus(CHAIN_TASK_ID, WALLET_WORKER_1, statusUpdate, updateReplicateStatusArgs))

0 commit comments

Comments
 (0)