Skip to content

Commit

Permalink
🪲 config get regression (#1142)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
  • Loading branch information
ryandgoulding authored Jan 4, 2025
1 parent 1585928 commit 611511f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
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

0 comments on commit 611511f

Please sign in to comment.