Skip to content

Commit

Permalink
Merge pull request #45 from rsksmart/github-workflow
Browse files Browse the repository at this point in the history
GitHub workflow, Added getActivePowpegRedeemScript Method
  • Loading branch information
marcos-iov authored Jun 20, 2022
2 parents c73968c + 6ff8f55 commit e32b138
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI/CD Using Github actions workflow
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Node & Npm Version
run: |
node -v
npm -v
- name: Install 🔧
run: npm ci

- name: Test 🚨
run: npm test
12 changes: 12 additions & 0 deletions abis/bridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,18 @@
"inputs": [],
"outputs": []
},
{
"name": "getActivePowpegRedeemScript",
"type": "function",
"constant": true,
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes"
}
]
},
{
"anonymous": false,
"inputs": [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@rsksmart/rsk-precompiled-abis",
"version": "5.0.1-HOP",
"version": "5.0.0-HOP",
"description": "Utility to interact with RSK native contracts",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/rsksmart/precompiled-abis.git"
},
"homepage": "https://www.rsk.co",
"homepage": "https://github.com/rsksmart/precompiled-abis#readme",
"scripts": {
"test": "mocha ./tests/*"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/bridge.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Bridge', () => {
});

it('has all the expected signatures', () => {
assert.equal(bridge.abi.length, 73);
assert.equal(bridge.abi.length, 74);
});

it('builds a valid contract', () => {
Expand Down

0 comments on commit e32b138

Please sign in to comment.