-
Notifications
You must be signed in to change notification settings - Fork 26
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
raunak/addNpmTesting #150
raunak/addNpmTesting #150
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ concurrency: | |
|
||
jobs: | ||
verify-bindings: | ||
runs-on: ubuntu-latest | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -23,11 +23,10 @@ jobs: | |
go-version: "1.21.3" | ||
|
||
- name: Setup Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
uses: foundry-rs/foundry-toolchain@v1.2.0 | ||
|
||
- name: Install Bun | ||
uses: oven-sh/setup-bun@v2 | ||
|
||
- name: Install ABIGen | ||
run: | | ||
go install github.com/ethereum/go-ethereum/cmd/[email protected] | ||
|
@@ -44,3 +43,15 @@ jobs: | |
echo -e "Changes in Generated Bindings:\n$changes" | ||
exit 1 | ||
fi | ||
- name: Upload ts bindings artifact on error | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ts-bindings | ||
path: ./src/evm/contracts/ | ||
- name: Upload go bindings artifact on error | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: go-bindings | ||
path: ./bindings/ |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -10,7 +10,7 @@ | |||||
# args: args to make the function call with, need to be compatible with the signature | ||||||
- name: DispatcherClientSetup-Connection-0 | ||||||
description: 'Setup client for dispatcher contracts' | ||||||
deployer: 'KEY_POLYMER' | ||||||
deployer: 'KEY_DEPLOYER' | ||||||
signature: "setClientForConnection(string,address)" | ||||||
address: '{{DispatcherProxy}}' | ||||||
factoryName: "Dispatcher" | ||||||
|
@@ -20,7 +20,7 @@ | |||||
|
||||||
- name: DispatcherClientSetup-Connection-1 | ||||||
description: 'Setup client for dispatcher contracts' | ||||||
deployer: 'KEY_POLYMER' | ||||||
deployer: 'KEY_DEPLOYER' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces. Trailing spaces detected on line 23. - deployer: 'KEY_DEPLOYER'
+ deployer: 'KEY_DEPLOYER' Committable suggestion
Suggested change
Toolsyamllint
|
||||||
signature: "setClientForConnection(string,address)" | ||||||
address: '{{DispatcherProxy}}' | ||||||
factoryName: "Dispatcher" | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,12 +1,11 @@ | ||||||
# These accounts are derived from a test mnemonic by Anvil/Hardhat and used for testing purposes only. | ||||||
- name: 'KEY_POLYMER' | ||||||
privateKey: '{{DEPLOYER_PRIVATE_KEY}}' | ||||||
|
||||||
- name: 'KEY_DEPLOYER' | ||||||
privateKey: '{{ DUMMY_DEPLOYER_PRIVATE_KEY }}' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces. Trailing spaces detected on line 3. - privateKey: '{{ DUMMY_DEPLOYER_PRIVATE_KEY }}'
+ privateKey: '{{ DUMMY_DEPLOYER_PRIVATE_KEY }}' Committable suggestion
Suggested change
|
||||||
|
||||||
# Dapp accounts | ||||||
- name: 'KEY_DAPP1' | ||||||
privateKey: '{{ DAPP_PRIVATE_KEY_1 }}' | ||||||
- name: 'KEY_DAPP2' | ||||||
privateKey: '{{ DAPP_PRIVATE_KEY_2 }}' | ||||||
- name: 'KEY_DAPP3' | ||||||
privateKey: '{{ DAPP_PRIVATE_KEY_2 }}' | ||||||
privateKey: '{{ DAPP_PRIVATE_KEY_3 }}' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces. Trailing spaces detected on line 11. - privateKey: '{{ DAPP_PRIVATE_KEY_3 }}'
+ privateKey: '{{ DAPP_PRIVATE_KEY_3 }}' Committable suggestion
Suggested change
Toolsyamllint
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -18,7 +18,7 @@ | |||||
|
||||||
- name: DispatcherUpgrade | ||||||
description: 'UUPS Upgrade for dispatcher contract implementation' | ||||||
deployer: 'KEY_POLYMER' | ||||||
deployer: 'KEY_DEPLOYER' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces. Trailing spaces detected on line 21. - deployer: 'KEY_DEPLOYER'
+ deployer: 'KEY_DEPLOYER' Committable suggestion
Suggested change
Toolsyamllint
|
||||||
signature: "upgradeTo(address)" | ||||||
address: '{{DispatcherProxy}}' | ||||||
factoryName: "Dispatcher" | ||||||
|
@@ -27,9 +27,9 @@ | |||||
|
||||||
- name: UCH Upgrade | ||||||
description: 'Upgrade for uch contract' | ||||||
deployer: 'KEY_POLYMER' | ||||||
deployer: 'KEY_DEPLOYER' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces. Trailing spaces detected on line 30. - deployer: 'KEY_DEPLOYER'
+ deployer: 'KEY_DEPLOYER' Committable suggestion
Suggested change
Toolsyamllint
|
||||||
signature: "upgradeTo(address)" | ||||||
address: '{{ UC Proxy }}' | ||||||
address: '{{ UCProxy }}' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces. Trailing spaces detected on line 32. - address: '{{ UCProxy }}'
+ address: '{{ UCProxy }}' Committable suggestion
Suggested change
Toolsyamllint
|
||||||
factoryName: "UC" | ||||||
args: | ||||||
- '{{UC}}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove trailing spaces.
Trailing spaces detected on line 13.
Committable suggestion
Tools
yamllint