Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d68d1f7
feat: Linea CCTP V2 deployments (#947)
nicholaspai Apr 8, 2025
2727922
improve: query shared bridge address dynamically (#944)
bmzig Apr 8, 2025
0dcf7ef
Revert "feat: Linea CCTP V2 deployments (#947)" (#949)
nicholaspai Apr 8, 2025
77761d7
feat: Support Circle bridged & native USDC on zkSync (#941)
pxrl Apr 8, 2025
f6f8807
fix(ZkSync_SpokePool): Add missing bridged USDC approval (#967)
pxrl Apr 25, 2025
4c78547
[N-01]: Fix missing and misleading documentation (#973)
pxrl Apr 25, 2025
b251c10
L-01 Custom Gas Tokens Can Get Stuck In `HubPool` (#975)
bmzig Apr 28, 2025
f3887a5
N-02 Relay Tokens From L1 Emits Empty Transaction Hash When Relaying …
bmzig Apr 28, 2025
a84bc4a
chore: Deploy Lens SpokePool & Adapter
pxrl Apr 28, 2025
6db3e38
fix(adapter): Approve sharedBridge for custom gas token
pxrl Apr 28, 2025
004c39d
Merge remote-tracking branch 'origin/pxrl/fixApproval' into pxrl/depl…
pxrl Apr 29, 2025
9a9d5b0
Redeploy Lens adapter
pxrl Apr 29, 2025
f5e1c22
chore(ZkStack_Adapter): Remove unused canonicalTxHash (#982)
pxrl Apr 30, 2025
9bbfa05
fix(adapter): Approve sharedBridge for custom gas token (#981)
pxrl Apr 30, 2025
fee1e8a
Merge remote-tracking branch 'origin/audit-zkstack-usdc' into pxrl/de…
pxrl Apr 30, 2025
7abf165
Merge remote-tracking branch 'origin/master' into audit-zkstack-usdc
pxrl Apr 30, 2025
cd3524b
Cleanup merge
pxrl Apr 30, 2025
d8518da
Merge remote-tracking branch 'origin/audit-zkstack-usdc' into pxrl/de…
pxrl Apr 30, 2025
089ef01
Redeploy
pxrl Apr 30, 2025
17aae56
Back out yarn.lock change
pxrl Apr 30, 2025
a266283
Merge branch 'master' into pxrl/deployLens
pxrl May 2, 2025
6c4ee1e
Update deployments/deployments.json
pxrl Sep 9, 2025
dd7baee
Merge remote-tracking branch 'origin/master' into pxrl/deployLens
pxrl Sep 9, 2025
14e796a
Revert format
pxrl Sep 9, 2025
0fbf5d8
Revert more
pxrl Sep 9, 2025
e8acd17
Revert
pxrl Sep 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions deploy/059_deploy_lens_spokepool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
newAddress = proxy.address;
}

// Verify the proxy + implementation contract.
// @dev Verify before saving artifacts; saving artifacts seems to prevent successful verification.
// It's observed that saving artifacts seems to trigger a rebuild, hardhat-zksync-verify subsequently
// complains about a bytecode mismatch in the deployed artifact.
await hre.run("verify:verify", { address: newAddress, constructorArguments: constructorArgs });

// Save the deployment manually because OZ's hardhat-upgrades packages bypasses hardhat-deploy.
// See also: https://stackoverflow.com/questions/74870472
const extendedArtifact = await deployments.getExtendedArtifact(contractName);
Expand All @@ -81,9 +87,6 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
...extendedArtifact,
};
await deployments.save(contractName, deployment);

// Verify the proxy + implementation contract.
await hre.run("verify:verify", { address: newAddress, constructorArguments: constructorArgs });
};

module.exports = func;
Expand Down
2 changes: 1 addition & 1 deletion deploy/064_deploy_zkstack_adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
* This adapter supports ZkStack L2s.
*
* Usage:
* $ SPOKE_CHAIN_ID=37111 yarn hardhat deploy --network sepolia --tags ZkStackCustomGasTokenAdapter
* $ SPOKE_CHAIN_ID=37111 yarn hardhat deploy --network sepolia --tags ZkStackAdapter
*/

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
Expand Down
2 changes: 1 addition & 1 deletion deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"AlephZero_Adapter": { "address": "0x6F4083304C2cA99B077ACE06a5DcF670615915Af", "blockNumber": 21131132 },
"Ink_Adapter": { "address": "0x7e90a40c7519b041a7df6498fbf5662e8cfc61d2", "blockNumber": 21438590 },
"Cher_Adapter": { "address": "0x0c9d064523177dBB55CFE52b9D0c485FBFc35FD2", "blockNumber": 21597341 },
"Lens_Adapter": { "address": "0x63AC22131eD457aeCbD63e6c4C7eeC7BBC74fF1F", "blockNumber": 22167069 },
"Lens_Adapter": { "address": "0x5e0B7e20a77BDf11812837D30F1326068Bcf24Cf", "blockNumber": 22382942 },
"DoctorWho_Adapter": { "address": "0xFADcC43096756e1527306FD92982FEbBe3c629Fa", "blockNumber": 21773451 },
"Solana_Adapter": { "address": "0x9F788694934fD2Ed34D5340B9a76EB34f2bFD7B3", "blockNumber": 22595936 },
"SpokePoolPeriphery": { "address": "0x89415a82d909a7238d69094C3Dd1dCC1aCbDa85C", "blockNumber": 22789839 }
Expand Down
132 changes: 102 additions & 30 deletions deployments/mainnet/ZkStack_CustomGasToken_Adapter.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion tasks/enableL1TokenAcrossEcosystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ const getChainsFromList = (taskArgInput: string): number[] =>
?.split(",")
?.map((chainId: string) => Number(chainId)) || [];

const notSolana = (chainId: number | string) => ![CHAIN_IDs.SOLANA, CHAIN_IDs.SOLANA_DEVNET].includes(Number(chainId));

task("enableToken", "Enable a provided token across the entire ecosystem of supported chains")
.addFlag("execute", "Provide this flag if you would like to actually execute the transaction from the EOA")
.addFlag("disable", "Set to disable deposit routes for the specified chains")
Expand Down Expand Up @@ -86,7 +88,7 @@ task("enableToken", "Enable a provided token across the entire ecosystem of supp
else if (inputChains.some((chain) => isNaN(chain) || !Number.isInteger(chain) || chain < 0)) {
throw new Error(`Invalid chains list: ${inputChains}`);
}
const chainIds = _enabledChainIds.filter((chainId) => inputChains.includes(chainId));
const chainIds = _enabledChainIds.filter((chainId) => inputChains.includes(chainId) && notSolana(chainId));

console.log("\nLoading L2 companion token address for provided L1 token.");
const tokens = Object.fromEntries(
Expand Down
Loading