mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
12cde41772
* Where I am at * Refactoring of transaction types * More refactoring * Use Homested signer in rpc daemon * Unified signer * Continue unified signer * A bit more * Fixes and down the rabbit hole... * More tx pool fixes * More refactoring fixes * More fixes' * more fixes * More fixes * More compile fixes * More RLP hand-writing * Finish RLP encoding/decoding of transactions * Fixes to header encoding, start on protocol packets * Transaction decoding * Use DecodeTransaction function * Decoding BlockBodyPacket * Encode and decode for pool txs * Start fixing tests * Introduce SigningHash * Fixes to SignHash * RLP encoding fixes * Fixes for encoding/decoding * More test fixes * Fix more tests * More test fixes * More test fixes * Fix core tests * More fixes for signer * Fix for tx * Fixes to string encoding/size * Fix eip2930 test * Fix rest of ./tests * More fixes * Fix compilation * More test fixes * More test fixes * Test fixes * More fixes * Reuse EncodingSize in EncodeRLP for accessList * Rearrange things in dynamic fee tx * Add MarshalBinary * More fixes * Make V,R,S non-pointers * More NPE fixes * More fixes * Receipt fixes * Fix core/types * Fix ./eth * More compile fixes for tests * More test fixes * More test fixes * Try to see lint errors better * Try to see lint errors better * Fix lint * Debugging eip1559 test * Fix TestEIP1559Transition test * Fix NewBlockPacket encoding/decoding * Fix calculation of TxHash * Fix perf problem with senders * Update aleut config values * Try adding static peers * Add staticpeers to defaul flags * Change aleut networkID * Fix test Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local> Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
name: Continuous integration
|
|
on: [ push ]
|
|
jobs:
|
|
tests:
|
|
strategy:
|
|
matrix:
|
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.16.x
|
|
- name: Install dependencies
|
|
run: |
|
|
if [ "$RUNNER_OS" == "Linux" ]; then
|
|
sudo apt update && sudo apt install build-essential
|
|
fi
|
|
shell: bash
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: ~/go/pkg/mod
|
|
key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
- name: Build (non-windows)
|
|
if: matrix.os != 'windows-latest'
|
|
run: make all
|
|
- name: Build (windows)
|
|
if: matrix.os == 'windows-latest'
|
|
run: |
|
|
go build -trimpath -o bin/tg.exe ./cmd/tg
|
|
go build -trimpath -o bin/rpcdaemon.exe ./cmd/rpcdaemon
|
|
go build -trimpath -o bin/rpctest.exe ./cmd/rpctest
|
|
go build -trimpath -o bin/integration.exe ./cmd/integration
|
|
go build -trimpath -o bin/headers.ext ./cmd/headers
|
|
- name: Lint
|
|
if: matrix.os == 'ubuntu-latest'
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: v1.38
|
|
args: "--out-format=colored-line-number --build-tags=mdbx"
|
|
skip-go-installation: true
|
|
skip-pkg-cache: true
|
|
skip-build-cache: true
|
|
- name: Test (non-windows)
|
|
if: matrix.os != 'windows-latest'
|
|
run: make test
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Docker
|
|
run: docker build .
|