ExocoreNetwork / exocore

5 stars 9 forks source link

[fix] change the type of clientChainLzID from uint16 to uint32 in precompile #43

Closed TimmyExogenous closed 2 months ago

TimmyExogenous commented 2 months ago

Description

The new version of the LayerZero contract uses uint32 to represent chainID, so change the precompiled contracts to keep the same as LayerZero.

It seems like the parameter parsing needs to be refined in the future because lots of repeated codes need to be changed when the parameter type changes.

adu-web3 commented 2 months ago

LGTM