Skip to content
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

🪲 config get regression #1142

Merged
merged 2 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/bright-beds-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@layerzerolabs/ua-devtools-evm-hardhat": patch
---

fix lz:oapp:config:get regression
8 changes: 4 additions & 4 deletions packages/ua-devtools-evm-hardhat/src/tasks/oapp/config.get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const action: ActionType<TaskArgs> = async ({ logLevel = 'info', oappConfig }, h
const endpointV2Sdk = await oAppSdk.getEndpointSDK()

// OApp User Set Config
const receiveCustomConfig = await getReceiveConfig(endpointV2Sdk, to.eid, to.address, true)
const sendCustomConfig = await getSendConfig(endpointV2Sdk, to.eid, to.address, true)
const receiveCustomConfig = await getReceiveConfig(endpointV2Sdk, to.eid, from.address, true)
const sendCustomConfig = await getSendConfig(endpointV2Sdk, to.eid, from.address, true)
const [sendCustomLibrary, sendCustomUlnConfig, sendCustomExecutorConfig] = sendCustomConfig ?? []
const [receiveCustomLibrary, receiveCustomUlnConfig] = receiveCustomConfig ?? []

Expand All @@ -53,8 +53,8 @@ const action: ActionType<TaskArgs> = async ({ logLevel = 'info', oappConfig }, h
const [receiveDefaultLibrary, receiveDefaultUlnConfig] = receiveDefaultConfig ?? []

// OApp Config
const receiveOAppConfig = await getReceiveConfig(endpointV2Sdk, to.eid, to.address)
const sendOAppConfig = await getSendConfig(endpointV2Sdk, to.eid, to.address)
const receiveOAppConfig = await getReceiveConfig(endpointV2Sdk, to.eid, from.address)
const sendOAppConfig = await getSendConfig(endpointV2Sdk, to.eid, from.address)
const [sendOAppLibrary, sendOAppUlnConfig, sendOAppExecutorConfig] = sendOAppConfig ?? []
const [receiveOAppLibrary, receiveOAppUlnConfig] = receiveOAppConfig ?? []

Expand Down
Loading