Skip to content

Commit

Permalink
Merge pull request #203 from api3dao/main
Browse files Browse the repository at this point in the history
Initiate release
  • Loading branch information
bbenligiray authored Sep 9, 2024
2 parents 8ac13f3 + b459a5e commit 7ae14a9
Show file tree
Hide file tree
Showing 17 changed files with 4,438 additions and 656 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-boxes-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@api3/contracts': minor
---

Add dAPI and Market support to soneium-sepolia-testnet
5 changes: 5 additions & 0 deletions .changeset/perfect-shrimps-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@api3/contracts': major
---

Remove deployment block numbers
2 changes: 2 additions & 0 deletions data/chain-support.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"sei-testnet",
"scroll",
"scroll-sepolia-testnet",
"soneium-sepolia-testnet",
"sonic-testnet",
"taiko",
"taiko-holesky-testnet",
Expand Down Expand Up @@ -169,6 +170,7 @@
"sei-testnet",
"scroll",
"scroll-sepolia-testnet",
"soneium-sepolia-testnet",
"sonic-testnet",
"taiko",
"taiko-holesky-testnet",
Expand Down
1 change: 1 addition & 0 deletions data/manager-multisig.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"scroll-sepolia-testnet": "0x14A9E40FcAdA95A273ce3c8d4ccF7EA3280BDd26",
"sei": "0x14A9E40FcAdA95A273ce3c8d4ccF7EA3280BDd26",
"sei-testnet": "0x14A9E40FcAdA95A273ce3c8d4ccF7EA3280BDd26",
"soneium-sepolia-testnet": "0x026A473DAB17ef658Ca09d726c70b4570A76188b",
"sonic-testnet": "0x026A473DAB17ef658Ca09d726c70b4570A76188b",
"taiko": "0x14A9E40FcAdA95A273ce3c8d4ccF7EA3280BDd26",
"taiko-holesky-testnet": "0x14A9E40FcAdA95A273ce3c8d4ccF7EA3280BDd26",
Expand Down
9 changes: 0 additions & 9 deletions deploy/3_document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import managerMultisigAddresses from '../data/manager-multisig.json';

module.exports = () => {
const references: Record<string, Record<string, AddressLike>> = {};
const deploymentBlockNumbers: Record<string, Record<string, number>> = {};

const networks = new Set([
...Object.keys(managerMultisigAddresses),
Expand All @@ -39,17 +38,9 @@ module.exports = () => {
for (const contractName of contractNames) {
const deployment = JSON.parse(fs.readFileSync(join('deployments', network, `${contractName}.json`), 'utf8'));
references[contractName] = { ...references[contractName], [chainId]: deployment.address };
if (!deployment.receipt) {
throw new Error(`${network} ${contractName} missing deployment tx receipt`);
}
deploymentBlockNumbers[contractName] = {
...deploymentBlockNumbers[contractName],
[chainId]: deployment.receipt.blockNumber,
};
}
}
fs.writeFileSync(join('deployments', 'addresses.json'), `${JSON.stringify(references, null, 2)}\n`);
fs.writeFileSync(join('deployments', 'block-numbers.json'), `${JSON.stringify(deploymentBlockNumbers, null, 2)}\n`);
fs.writeFileSync(
join('deployments', 'manager-multisig-addresses.json'),
`${JSON.stringify(
Expand Down
5 changes: 5 additions & 0 deletions deployments/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"1750": "0x81bc85f329cDB28936FbB239f734AE495121F9A6",
"1890": "0x81bc85f329cDB28936FbB239f734AE495121F9A6",
"1891": "0xC02Ea0f403d5f3D45a4F1d0d817e7A2601346c9E",
"1946": "0x81bc85f329cDB28936FbB239f734AE495121F9A6",
"2001": "0x81bc85f329cDB28936FbB239f734AE495121F9A6",
"2221": "0x81bc85f329cDB28936FbB239f734AE495121F9A6",
"2222": "0x81bc85f329cDB28936FbB239f734AE495121F9A6",
Expand Down Expand Up @@ -122,6 +123,7 @@
"1750": "0xcD7Df573B0F0bb4F2f8dFFF6650cDe8C77431730",
"1890": "0xcD7Df573B0F0bb4F2f8dFFF6650cDe8C77431730",
"1891": "0xDDe9CE3736939d59A70c446c8A4AB6714CB4a41a",
"1946": "0xcD7Df573B0F0bb4F2f8dFFF6650cDe8C77431730",
"2221": "0xcD7Df573B0F0bb4F2f8dFFF6650cDe8C77431730",
"2222": "0xcD7Df573B0F0bb4F2f8dFFF6650cDe8C77431730",
"2358": "0xcD7Df573B0F0bb4F2f8dFFF6650cDe8C77431730",
Expand Down Expand Up @@ -211,6 +213,7 @@
"1750": "0x709944a48cAf83535e43471680fDA4905FB3920a",
"1890": "0x709944a48cAf83535e43471680fDA4905FB3920a",
"1891": "0x3d0Ca9e5490E36627beA9a8cb3cefa12D7cDc0af",
"1946": "0x709944a48cAf83535e43471680fDA4905FB3920a",
"2221": "0x709944a48cAf83535e43471680fDA4905FB3920a",
"2222": "0x709944a48cAf83535e43471680fDA4905FB3920a",
"2358": "0x709944a48cAf83535e43471680fDA4905FB3920a",
Expand Down Expand Up @@ -300,6 +303,7 @@
"1750": "0x9EB9798Dc1b602067DFe5A57c3bfc914B965acFD",
"1890": "0x9EB9798Dc1b602067DFe5A57c3bfc914B965acFD",
"1891": "0x81A850254769a6C87d4F11B9F80bCc5bE1CcF50E",
"1946": "0x9EB9798Dc1b602067DFe5A57c3bfc914B965acFD",
"2221": "0x9EB9798Dc1b602067DFe5A57c3bfc914B965acFD",
"2222": "0x9EB9798Dc1b602067DFe5A57c3bfc914B965acFD",
"2358": "0x9EB9798Dc1b602067DFe5A57c3bfc914B965acFD",
Expand Down Expand Up @@ -388,6 +392,7 @@
"1750": "0x9F5223d4a93a771D178992078DB1AbE421Dd4218",
"1890": "0x9F5223d4a93a771D178992078DB1AbE421Dd4218",
"1891": "0x55423F77EFa81cB33bdd47D04068571383e27241",
"1946": "0x9F5223d4a93a771D178992078DB1AbE421Dd4218",
"2221": "0x9F5223d4a93a771D178992078DB1AbE421Dd4218",
"2222": "0x9F5223d4a93a771D178992078DB1AbE421Dd4218",
"2358": "0x9F5223d4a93a771D178992078DB1AbE421Dd4218",
Expand Down
Loading

0 comments on commit 7ae14a9

Please sign in to comment.