diff --git a/.github/workflows/dockerimage-latest.yml b/.github/workflows/dockerimage-latest.yml new file mode 100644 index 0000000000000000000000000000000000000000..4e09ecef58ed5bdaaf7cfb757330c28be720cec1 --- /dev/null +++ b/.github/workflows/dockerimage-latest.yml @@ -0,0 +1,27 @@ +name: Docker Images For Latest Branches + +on: + push: + branches: + - develop + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build docker image + env: + DOCKERHUB: ${{ secrets.DOCKERHUB }} + DOCKERHUB_KEY: ${{ secrets.DOCKERHUB_KEY }} + run: | + set -x + ls -l + echo "Docker login" + docker login -u $DOCKERHUB -p $DOCKERHUB_KEY + echo "Running build" + docker build -t maticnetwork/bor:${GITHUB_REF/refs\/heads\//} . + echo "Pushing image" + docker push maticnetwork/bor:${GITHUB_REF/refs\/heads\//} + echo "Done" diff --git a/README.md b/README.md index 67acb3d000ac0c0a406b761bf3428043f21ea0ee..79b0195e9e814b3ee345aad8a1799c950bc36621 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,6 @@ -## Go Ethereum +## Bor -Official Golang implementation of the Ethereum protocol. - -[](https://godoc.org/github.com/maticnetwork/bor) -[](https://goreportcard.com/report/github.com/maticnetwork/bor) -[](https://circleci.com/gh/maticnetwork/bor/tree/master) -[](https://discord.gg/nthXNEv) - -Automated builds are available for stable releases and the unstable master branch. Binary -archives are published at https://geth.ethereum.org/downloads/. +Official Golang implementation of the Matic protocol (fork of Go Ethereum - https://github.com/ethereum/go-ethereum) ## Building the source diff --git a/consensus/bor/bor.go b/consensus/bor/bor.go index c9e59050225e4133ee320b2a595966bf43b1a496..f353e2643f07c179a563257172ed7e64368eb1e1 100644 --- a/consensus/bor/bor.go +++ b/consensus/bor/bor.go @@ -1125,17 +1125,12 @@ func (c *Bor) CommitStates( Data: hex.EncodeToString(eventRecord.Data), TxHash: eventRecord.TxHash, } - fmt.Println("stateData", stateData) - // go func() { - // c.stateSyncFeed.Send(core.StateSyncEvent{StateData: &stateData}) - // }() if err := c.GenesisContractsClient.CommitState(eventRecord, state, header, chain); err != nil { return nil, err } lastStateID++ } - fmt.Println("retuning state Data", &stateData) return &stateData, nil }