Skip to content

Commit 0b9adaf

Browse files
committed
chore: add ultra compilter settings
docs: refactor tables
1 parent 25b2bd2 commit 0b9adaf

File tree

3 files changed

+39
-132
lines changed

3 files changed

+39
-132
lines changed

airdrops/v1.3.0/README.md

Lines changed: 13 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -15,52 +15,20 @@
1515

1616
## Compiler Settings
1717

18-
| Setting | Value |
19-
| :------------- | :------- |
20-
| EVM | Shanghai |
21-
| Optimizer | Yes |
22-
| Optimizer Runs | 1000 |
23-
| Solc | 0.8.26 |
24-
| Via IR | true |
18+
| Chains | Tool | EVM | Optimizer Runs | Solc Version | Via IR |
19+
| :------ | :------ | :------- | :------------- | :----------- | :----- |
20+
| Default | Foundry | Shanghai | 1000 | 0.8.26 | true |
21+
| IoTeX | Hardhat | Paris | 10 | 0.8.26 | true |
22+
| Linea | Foundry | Paris | 800 | 0.8.26 | true |
23+
| Tangle | Hardhat | Paris | 100 | 0.8.26 | true |
24+
| Ultra | Hardhat | Paris | 100 | 0.8.26 | true |
2525

26-
### Abstract and zkSync
26+
For deployments on the zkSync based chains, the following settings were used:
2727

28-
Abstract is based on zkSync and therefore requires to be deployed using
29-
[hardhat](https://docs.abs.xyz/build-on-abstract/smart-contracts/hardhat) using the following configurations:
30-
31-
| Setting | Value |
32-
| :------------- | :----- |
33-
| Hardhat-zksync | 1.2.5 |
34-
| Optimizer | Yes |
35-
| Optimizer Runs | 1000 |
36-
| Solc | 0.8.26 |
37-
| Via IR | true |
38-
| Zksolc | 1.5.11 |
39-
40-
### Linea
41-
42-
Due to the lack of [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855) support, we had to use the following settings for
43-
Linea:
44-
45-
| Setting | Value |
46-
| :------------- | :----- |
47-
| EVM | Paris |
48-
| Optimizer | Yes |
49-
| Optimizer Runs | 800 |
50-
| Solc | 0.8.26 |
51-
| Via IR | true |
52-
53-
### Tangle
54-
55-
Due to the lack of Foundry support, we had to use the following settings for Tangle:
56-
57-
| Setting | Value |
58-
| :------------- | :----- |
59-
| EVM | Paris |
60-
| Optimizer | Yes |
61-
| Optimizer Runs | 100 |
62-
| Solc | 0.8.26 |
63-
| Via IR | true |
28+
| Chains | Tool | EVM | Optimizer Runs | Solc Version | zkSolc | Via IR |
29+
| :------- | :------------------------------------------------------------------------------- | :---- | :------------- | :----------- | :----- | :----- |
30+
| Abstract | [Hardhat-zksync](https://docs.abs.xyz/build-on-abstract/smart-contracts/hardhat) | Paris | 1000 | 0.8.26 | 1.5.11 | true |
31+
| zkSync | [Hardhat-zksync](https://docs.zksync.io/zksync-era/tooling/hardhat) | Paris | 1000 | 0.8.26 | 1.5.11 | true |
6432

6533
## Salts
6634

@@ -90,6 +58,7 @@ The CREATE2 salts used during deployment. A "No Salt" value means that the contr
9058
| Taiko Mainnet | ChainID 167000, Version 1.3.0 |
9159
| Tangle | No Salt |
9260
| XDC | ChainID 50, Version 1.3.0 |
61+
| Ultra | No Salt |
9362
| zkSync Era | No Salt |
9463

9564
### Testnets

flow/v1.1.0/README.md

Lines changed: 13 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,20 @@
1212

1313
## Compiler Settings
1414

15-
| Setting | Value |
16-
| :------------- | :------- |
17-
| EVM | Shanghai |
18-
| Optimizer | Yes |
19-
| Optimizer Runs | 10000 |
20-
| Solc | 0.8.26 |
21-
| Via IR | true |
15+
| Chains | Tool | EVM | Optimizer Runs | Solc Version | Via IR |
16+
| :------ | :------ | :------- | :------------- | :----------- | :----- |
17+
| Default | Foundry | Shanghai | 10000 | 0.8.26 | true |
18+
| IoTeX | Hardhat | Paris | 10000 | 0.8.20 | true |
19+
| Linea | Foundry | Paris | 10000 | 0.8.26 | true |
20+
| Tangle | Hardhat | Paris | 10000 | 0.8.20 | true |
21+
| Ultra | Hardhat | Paris | 10000 | 0.8.26 | true |
2222

23-
### Abstract and zkSync
23+
For deployments on the zkSync based chains, the following settings were used:
2424

25-
Abstract is based on zkSync and therefore requires to be deployed using
26-
[hardhat](https://docs.abs.xyz/build-on-abstract/smart-contracts/hardhat) using the following configurations:
27-
28-
| Setting | Value |
29-
| :------------- | :----- |
30-
| Hardhat-zksync | 1.2.5 |
31-
| Optimizer | Yes |
32-
| Optimizer Runs | 10000 |
33-
| Solc | 0.8.26 |
34-
| Via IR | true |
35-
| Zksolc | 1.5.6 |
36-
37-
### IoTex and Tangle
38-
39-
Due to the lack of Foundry support, we had to use the following settings for Tangle and IoTex:
40-
41-
| Setting | Value |
42-
| :------------- | :----- |
43-
| EVM | Paris |
44-
| Optimizer | Yes |
45-
| Optimizer Runs | 10000 |
46-
| Solc | 0.8.20 |
47-
| Via IR | true |
48-
49-
### Linea
50-
51-
Due to the lack of [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855) support, we had to use the following settings for
52-
Linea:
53-
54-
| Setting | Value |
55-
| :------------- | :----- |
56-
| EVM | Paris |
57-
| Optimizer | Yes |
58-
| Optimizer Runs | 10000 |
59-
| Solc | 0.8.26 |
60-
| Via IR | true |
25+
| Chains | Tool | EVM | Optimizer Runs | Solc Version | zkSolc | Via IR |
26+
| :------- | :------------------------------------------------------------------------------- | :---- | :------------- | :----------- | :----- | :----- |
27+
| Abstract | [Hardhat-zksync](https://docs.abs.xyz/build-on-abstract/smart-contracts/hardhat) | Paris | 10000 | 0.8.26 | 1.5.6 | true |
28+
| zkSync | [Hardhat-zksync](https://docs.zksync.io/zksync-era/tooling/hardhat) | Paris | 10000 | 0.8.26 | 1.5.6 | true |
6129

6230
## Salts
6331

@@ -87,6 +55,7 @@ The CREATE2 salts used during deployment. A "No Salt" value means that the contr
8755
| Scroll | ChainID 534352, Version 1.1.0 |
8856
| Taiko Mainnet | ChainID 167000, Version 1.1.0 |
8957
| Tangle | No Salt |
58+
| Ultra | No Salt |
9059
| XDC | ChainID 50, Version 1.1.0 |
9160
| zkSync Era | No Salt |
9261

lockup/v2.0.0/README.md

Lines changed: 13 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -15,52 +15,20 @@
1515

1616
## Compiler Settings
1717

18-
| Setting | Value |
19-
| :------------- | :------- |
20-
| EVM | Shanghai |
21-
| Optimizer | Yes |
22-
| Optimizer Runs | 570 |
23-
| Solc | 0.8.26 |
24-
| Via IR | true |
18+
| Chains | Tool | EVM | Optimizer Runs | Solc Version | Via IR |
19+
| :------ | :------ | :------- | :------------- | :----------- | :----- |
20+
| Default | Foundry | Shanghai | 570 | 0.8.26 | true |
21+
| IoTeX | Hardhat | Paris | 10 | 0.8.26 | true |
22+
| Linea | Foundry | Paris | 100 | 0.8.26 | true |
23+
| Tangle | Hardhat | Paris | 100 | 0.8.26 | true |
24+
| Ultra | Hardhat | Paris | 100 | 0.8.26 | true |
2525

26-
### Abstract and zkSync
26+
For deployments on the zkSync based chains, the following settings were used:
2727

28-
Abstract is based on zkSync and therefore requires to be deployed using
29-
[hardhat](https://docs.abs.xyz/build-on-abstract/smart-contracts/hardhat) using the following configurations:
30-
31-
| Setting | Value |
32-
| :------------- | :----- |
33-
| Hardhat-zksync | 1.2.5 |
34-
| Optimizer | Yes |
35-
| Optimizer Runs | 1000 |
36-
| Solc | 0.8.26 |
37-
| Via IR | true |
38-
| Zksolc | 1.5.11 |
39-
40-
### Linea
41-
42-
Due to the lack of [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855) support, we had to use the following settings for
43-
Linea:
44-
45-
| Setting | Value |
46-
| :------------- | :----- |
47-
| EVM | Paris |
48-
| Optimizer | Yes |
49-
| Optimizer Runs | 100 |
50-
| Solc | 0.8.26 |
51-
| Via IR | true |
52-
53-
### Tangle
54-
55-
Due to the lack of Foundry support, we had to use the following settings for Tangle:
56-
57-
| Setting | Value |
58-
| :------------- | :----- |
59-
| EVM | Paris |
60-
| Optimizer | Yes |
61-
| Optimizer Runs | 100 |
62-
| Solc | 0.8.26 |
63-
| Via IR | true |
28+
| Chains | Tool | EVM | Optimizer Runs | Solc Version | zkSolc | Via IR |
29+
| :------- | :------------------------------------------------------------------------------- | :---- | :------------- | :----------- | :----- | :----- |
30+
| Abstract | [Hardhat-zksync](https://docs.abs.xyz/build-on-abstract/smart-contracts/hardhat) | Paris | 1000 | 0.8.26 | 1.5.11 | true |
31+
| zkSync | [Hardhat-zksync](https://docs.zksync.io/zksync-era/tooling/hardhat) | Paris | 1000 | 0.8.26 | 1.5.11 | true |
6432

6533
## Salts
6634

@@ -89,6 +57,7 @@ The CREATE2 salts used during deployment. A "No Salt" value means that the contr
8957
| Scroll | ChainID 534352, Version 2.0.0 |
9058
| Taiko Mainnet | ChainID 167000, Version 2.0.0 |
9159
| Tangle | No Salt |
60+
| Ultra | No Salt |
9261
| XDC | ChainID 50, Version 2.0.0 |
9362
| zkSync Era | No Salt |
9463

0 commit comments

Comments
 (0)