Skip to content

Commit

Permalink
chore: tagging registries, updating solidity version in test contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Jul 29, 2024
1 parent 49c3749 commit 83c5359
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[submodule "lib/autonolas-registries"]
path = lib/autonolas-registries
url = https://github.com/valory-xyz/autonolas-registries.git
tag = v1.2.2
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
5 changes: 3 additions & 2 deletions contracts/test/ABICreator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;
pragma solidity ^0.8.25;

// Getting ABIs for the Gnosis Safe master copy and proxy contracts
import "@gnosis.pm/safe-contracts/contracts/GnosisSafe.sol";

Check warning on line 5 in contracts/test/ABICreator.sol

View workflow job for this annotation

GitHub Actions / build

global import of path @gnosis.pm/safe-contracts/contracts/GnosisSafe.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Expand All @@ -14,4 +14,5 @@ import "../../lib/autonolas-registries/contracts/ServiceRegistryTokenUtility.sol
import "../../lib/autonolas-registries/contracts/multisigs/GnosisSafeMultisig.sol";

Check warning on line 14 in contracts/test/ABICreator.sol

View workflow job for this annotation

GitHub Actions / build

global import of path ../../lib/autonolas-registries/contracts/multisigs/GnosisSafeMultisig.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
import {StakingFactory} from "../../lib/autonolas-registries/contracts/staking/StakingFactory.sol";

Check warning on line 15 in contracts/test/ABICreator.sol

View workflow job for this annotation

GitHub Actions / build

imported name StakingFactory is not used
import {StakingToken} from "../../lib/autonolas-registries/contracts/staking/StakingToken.sol";

Check warning on line 16 in contracts/test/ABICreator.sol

View workflow job for this annotation

GitHub Actions / build

imported name StakingToken is not used
import {StakingNativeToken} from "../../lib/autonolas-registries/contracts/staking/StakingNativeToken.sol";
import {StakingNativeToken} from "../../lib/autonolas-registries/contracts/staking/StakingNativeToken.sol";
import {StakingActivityChecker} from "../../lib/autonolas-registries/contracts/staking/StakingActivityChecker.sol";
2 changes: 1 addition & 1 deletion contracts/test/ERC20Token.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;
pragma solidity ^0.8.25;

import {ERC20} from "../../lib/autonolas-registries/lib/solmate/src/tokens/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/MockAgentMech.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;
pragma solidity ^0.8.25;

/// @title MockAgentMech - Smart contract for mocking AgentMech partial functionality.
contract MockAgentMech {
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/SafeNonceLib.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;
pragma solidity ^0.8.25;

import {GnosisSafeStorage} from "@gnosis.pm/safe-contracts/contracts/examples/libraries/GnosisSafeStorage.sol";

Expand Down
2 changes: 1 addition & 1 deletion lib/autonolas-registries
Submodule autonolas-registries updated 24 files
+18 −0 .gitleaksignore
+0 −87 scripts/deployment/l2/deploy_18_service_staking_activity_checker.js
+1 −1 scripts/deployment/l2/deploy_18_service_staking_verifier.js
+1 −1 scripts/deployment/l2/deploy_19_service_staking_factory.js
+1 −1 scripts/deployment/l2/deploy_20_hash_checkpoint_l2.js
+0 −89 scripts/deployment/l2/deploy_21_service_staking_token_instance.js
+0 −85 scripts/deployment/l2/deploy_22_service_staking_native_token_instance.js
+1 −1 scripts/deployment/l2/globals_arbitrum_one.json
+1 −1 scripts/deployment/l2/globals_arbitrum_sepolia.json
+1 −1 scripts/deployment/l2/globals_base_mainnet.json
+1 −1 scripts/deployment/l2/globals_celo_mainnet.json
+1 −21 scripts/deployment/l2/globals_ethereum_mainnet.json
+1 −1 scripts/deployment/l2/globals_gnosis_chiado.json
+0 −20 scripts/deployment/l2/globals_gnosis_mainnet.json
+1 −1 scripts/deployment/l2/globals_optimistic_mainnet.json
+1 −1 scripts/deployment/l2/globals_optimistic_sepolia.json
+1 −1 scripts/deployment/l2/globals_polygon_amoy.json
+1 −1 scripts/deployment/l2/globals_polygon_mainnet.json
+0 −9 scripts/deployment/l2/verify_18_service_staking_activity_checker.js
+0 −0 scripts/deployment/l2/verify_18_service_staking_verifier.js
+0 −0 scripts/deployment/l2/verify_19_service_staking_factory.js
+0 −0 scripts/deployment/l2/verify_20_hash_checkpoint.js
+0 −9 scripts/deployment/l2/verify_21_service_staking_token_instance.js
+0 −9 scripts/deployment/l2/verify_22_service_staking_native_token_instance.js
2 changes: 1 addition & 1 deletion lib/forge-std
Submodule forge-std updated 2 files
+3 −0 src/Vm.sol
+1 −1 test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function main() {
// Contract verification
if (parsedData.contractVerification) {
const execSync = require("child_process").execSync;
execSync("npx hardhat verify --constructor-args scripts/deployment/l2/verify_18_service_staking_activity_checker.js --network " + providerName + " " + stakingActivityChecker.address, { encoding: "utf-8" });
execSync("npx hardhat verify --constructor-args scripts/deployment/l2/verify_00_basic_service_staking_activity_checker.js --network " + providerName + " " + stakingActivityChecker.address, { encoding: "utf-8" });
}
}

Expand Down

0 comments on commit 83c5359

Please sign in to comment.