Skip to content

Commit

Permalink
Merge pull request maticnetwork#308 from maticnetwork/sidechannel
Browse files Browse the repository at this point in the history
Sidechannel spec implementation
  • Loading branch information
mankenavenkatesh authored May 22, 2020
2 parents 8995461 + 3241d01 commit 0f123cf
Show file tree
Hide file tree
Showing 218 changed files with 17,094 additions and 5,029 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ jobs:
go-version: 1.13
- name: "Build binaries"
run: make build
- name: "Run tests"
run: make tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./cover.out
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ logs

.idea
.vscode

6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ clean:
rm -rf build

tests:
go test -v ./...
# go test -v ./...
go test -v ./app/ ./auth/ ./clerk/ ./sidechannel/ ./bank/ ./chainmanager/ ./topup/ -cover -coverprofile=cover.out


build: clean
mkdir -p build
go build -o build/heimdalld ./cmd/heimdalld
go build -o build/heimdallcli ./cmd/heimdallcli
go build -o build/bridge bridge/bridge.go
@echo "====================================================\n==================Build Successful==================\n===================================================="

install:
go install $(BUILD_FLAGS) ./cmd/heimdalld
Expand All @@ -36,6 +39,7 @@ install:
contracts:
abigen --abi=contracts/rootchain/rootchain.abi --pkg=rootchain --out=contracts/rootchain/rootchain.go
abigen --abi=contracts/stakemanager/stakemanager.abi --pkg=stakemanager --out=contracts/stakemanager/stakemanager.go
abigen --abi=contracts/slashmanager/slashmanager.abi --pkg=slashmanager --out=contracts/slashmanager/slashmanager.go
abigen --abi=contracts/statereceiver/statereceiver.abi --pkg=statereceiver --out=contracts/statereceiver/statereceiver.go
abigen --abi=contracts/statesender/statesender.abi --pkg=statesender --out=contracts/statesender/statesender.go
abigen --abi=contracts/stakinginfo/stakinginfo.abi --pkg=stakinginfo --out=contracts/stakinginfo/stakinginfo.go
Expand Down
Loading

0 comments on commit 0f123cf

Please sign in to comment.