Skip to content

chore: Deploy Lens SpokePool & Adapter #978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 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
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 }
},
"10": {
Expand Down
Loading
Loading