Skip to content

Commit

Permalink
new artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Węgrzyn committed Sep 9, 2024
1 parent 6209f88 commit 2896737
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/eth_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: ETH Deploy
uses: piotrjwegrzyn/evm-deployment@v2.2.3
uses: piotrjwegrzyn/evm-deployment@v2.2.4
with:
contract-name: 'Cyrograf'
contract-filename: 'cyrograf'
Expand All @@ -40,17 +40,16 @@ jobs:
- uses: actions/download-artifact@master
with:
name: sc_connector.json
path: out/
- name: Run tests
env:
RPC_URL: ${{ secrets.RPC_ETH_SEPOLIA_HTTPS }}
ACCOUNT_ADDRESS: ${{ secrets.DEPLOYER_ADDRESS }}
PRIVATE_KEY: ${{ secrets.DEPLOYER_PK }}
run: |
rm integration/sc_connector.json
echo "old connector:\n\n"
cat integration/sc_connector.json
cp out/sc_connector.json integration/sc_connector.json
rm integration/sc_connector.json
cp sc_connector.json integration/sc_connector.json
echo "new connector:\n\n"
cat integration/sc_connector.json
node --no-deprecation integration/tester.js
Expand Down
2 changes: 1 addition & 1 deletion eth/cyrograf.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract Cyrograf {
Background currentBackground;

constructor() {
currentBackground = Background(msg.sender, RGB(100,200,30), RGB(30,20,10));
currentBackground = Background(msg.sender, RGB(100,20,30), RGB(30,20,10));
}

function getBackground() public view returns (Background memory){
Expand Down

0 comments on commit 2896737

Please sign in to comment.