diff --git a/.changeset/bright-beds-train.md b/.changeset/bright-beds-train.md new file mode 100644 index 000000000..81f916e00 --- /dev/null +++ b/.changeset/bright-beds-train.md @@ -0,0 +1,5 @@ +--- +"@layerzerolabs/ua-devtools-evm-hardhat": patch +--- + +fix lz:oapp:config:get regression diff --git a/packages/ua-devtools-evm-hardhat/src/tasks/oapp/config.get.ts b/packages/ua-devtools-evm-hardhat/src/tasks/oapp/config.get.ts index 382b16bd5..8e891597f 100644 --- a/packages/ua-devtools-evm-hardhat/src/tasks/oapp/config.get.ts +++ b/packages/ua-devtools-evm-hardhat/src/tasks/oapp/config.get.ts @@ -41,8 +41,8 @@ const action: ActionType = 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 ?? [] @@ -53,8 +53,8 @@ const action: ActionType = 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 ?? []