Ethereum Chainlink CCIP: Bring a US Fromy Anthether Chain returns with error “Ready for manual execution”
In the slope of decentralized finances (Dead), Blockchain terror plays a vital role in establishing secondary and effective between a differentiation network. One of these networks is Ethereum, the Buts was the center of different definition of projects and apps. We recently noticed a problem that did not function to call for a Smatch Contct Aono second chain with a different clutter “ready for manual performance”.
This problem from the Land Oracle (CCIP) service, which enables Ethereum Contracts in external data issues, such as API or other blockchain networks. In this article, we will redeem the details of this issue and provision of services.
Problem: Repeated functions call with “Ready for manual execution” Early
According to the reports with definite Cornerite and Forum, an accelerated service call in a smart contract of another chain. This functional call, called dovedusdcfomanotherchain
, Adtammps to take over the USC token balance on the outer network is sung by the Land Oracle service.
Coded Functional Cret matches this operation:
`strength
Pragma Solidity ^0.8.0;
Contract dovez
// Function to Bing USDC from another chain and execute it is not an Ethereum network.
functioning of Dovenjenicedcfromanotherchain (USDCADDRESS) Public Account (Unt256) {) {
if
bytes memory data = ABI.encodepacked (
0x6ef5d8d, // 'of'
USDCADDRESS,
1,
10000000,
2
);
// Call functional to execute inquiries on the Oracle Chain line
Uitt256 Balance;
Requires (Bajt (data) .length> = 4, "Invalid data");
Bytes Memory News = Abi.decodepaced (bytes (data), and balance);
demand (Newdata [3] == 1, "inaccurate oracle data");
// perform a re -balance and
uitt256 [] memory output = abi.encodearray (balance);
Account output [0];
Iche
Iche
re
When it calls for function, it executes a smart contract of another chain, the type of use of the Land Oracle service to find the currency of USD balance. However, due to some internal problems with CCIP services of ordinary service, the reversion occupation of the ethics "Ready Like The Manual Fation".
Resolution: Increasing the Causeau Strategies and Mitigation
The root cause of this issue is in the format of the API Oracle Oracle format, but the format of data of smart contracts based in Ethereum. To solve this problem, several mitigation strategies can be set up:
- CCIP service update:
One possible solubility is the chain Oracle chain service to its latest version or implementation lying between different blockchain networks.
- Use different data formats: Anthi access your return data Formats, which will be compatible with smart contracts based on Etherem. Example of the form, you can be an incete of ownership information about Oracle Chainlink Oracle.
- Implementation of production production: The third strategy is to embrace a manual execution for this functional call to another chain smart contract. This is a separate node of a node or the end point that is a function ofbrought in the transparent ‘, bypassing the turnaround.
CCIP CCIP CCIP Ethereum is experience with lectures to bring USDC from another chain.
Leave a Reply