Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solidity Artifacts On Release #254

Closed
izyak opened this issue Jan 24, 2024 · 0 comments · Fixed by #260
Closed

Solidity Artifacts On Release #254

izyak opened this issue Jan 24, 2024 · 0 comments · Fixed by #260
Assignees
Labels
cicd DevOps enhancement New feature or request iBriz iBriz Filter Prod Support Issues relating to Prod Support Solidity EVM chain

Comments

@izyak
Copy link
Collaborator

izyak commented Jan 24, 2024

When the solidity contracts are released, the release should contain the ABI of the contract.
This can be achieved as:

# needs to be added here when new contracts are added

cd contracts/evm
forge build
cat out/CallService.sol/CallService.json | jq -r .abi  > xcall_abi.json
cat out/CentralizedAdapter.sol/XCallCentralizeConnection.json | jq -r .abi > centralized_connection_abi.json
cat out/LayerZeroAdapter.sol/LayerZeroAdapter.json | jq -r .abi > layer_zero_adapter_abi.json
cat out/WormholeAdapter.sol/WormholeAdapter.json | jq -r .abi > wormhole_adapter_abi.json

This needs to be integrated into the CI Pipeline.

@izyak izyak added enhancement New feature or request DevOps cicd iBriz iBriz Filter Solidity EVM chain Prod Support Issues relating to Prod Support labels Jan 24, 2024
@DeepakBomjan DeepakBomjan linked a pull request Feb 1, 2024 that will close this issue
7 tasks
@izyak izyak closed this as completed in #260 Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd DevOps enhancement New feature or request iBriz iBriz Filter Prod Support Issues relating to Prod Support Solidity EVM chain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants