smartcontractkit / chainlink

node of the decentralized oracle network, bridging on and off-chain computation
https://chain.link
Other
6.96k stars 1.69k forks source link

[BCFR-147] - Add DecodeHook to convert between string and common.Address types #14508

Open Farber98 opened 1 week ago

Farber98 commented 1 week ago

Task Description:

Add an EVM exclusive modifier/hook that changes onchain common.Address type to string.

This PR:

Adds addressStringDecodeHook to convert between string and common.Address types. It handles the following conversions:

Ticket:

cl-sonarqube-production[bot] commented 1 week ago

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
1.7% Duplication on New Code

See analysis details on SonarQube