Commit Graph

270 Commits

Author SHA1 Message Date
Alex Sharov
a528249b00
goreleaser version up (#6453) 2022-12-29 11:03:07 +07:00
Alex Sharov
6ad0d837d1
mdbx: disable feature which not ready yet (#6432) 2022-12-24 19:05:08 +07:00
Alex Sharov
0e1e1f50ab
clang15 warning fix (#6392)
for
https://github.com/ledgerwatch/erigon/issues/6113#issuecomment-1359526277
2022-12-21 14:38:48 +07:00
Max Revitt
ebea8298df
feat(ci): run 2x dev nodes for automated-testing (#5346) 2022-12-09 20:07:57 +07:00
Max Revitt
5d767e2b2c
tweak(makefile): pull hive container before hive run (#6241) 2022-12-08 05:51:24 +07:00
Alex Sharov
daf2867194
e3: Recon heap mem leak (#6203) 2022-12-05 08:42:26 +07:00
Alex Sharov
92e6e56120
Fix test e3 (#6087) 2022-11-20 10:58:20 +07:00
Giulio rebuffo
5c3245d4e0
Added Checkpoint sync for CL full client (#5934) 2022-11-02 13:12:44 +01:00
Giulio rebuffo
adf5fc7b82
refactored files regarding lightclient (#5904) 2022-10-29 21:51:32 +02:00
Alex Sharov
2d7cd0fae2
e3: better prune logs, apply thread can work without rwTx (#5860) 2022-10-25 16:08:01 +07:00
Alex Sharov
86551e82f4
e3: parallel build missed indices (#5817) 2022-10-21 13:45:20 +07:00
Giulio rebuffo
45f1c99b50
Commented out BLS validation because it breaks CI (#5755)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-15 12:38:37 +02:00
Giulio rebuffo
513e149dc4
separated sentinel_node executable (#5721)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-12 23:47:06 +02:00
Krishna Upadhyaya
66951592c7
Fix go-releaser version (#5697)
Issue :
https://github.com/ledgerwatch/erigon/actions/runs/3202785385/jobs/5232131489

Reason : There is no go-releaser version with v1.18.5
https://hub.docker.com/r/goreleaser/goreleaser-cross/tags

Updated it to v1.18.1 which we use in matic-fork/erigon.
2022-10-11 12:27:36 +01:00
Alex Sharov
18f5f45d68
erigon3: integration tests makefile #5621 2022-10-05 09:53:03 +07:00
Leonard Chinonso
9d172ae125
Devnet Remake (#5532)
* Rebuilding the devnet tool for better quality

* Added README

* deleted former devnettest folder

* Correction changes

* Implementation node connection through enode for two nodes

* synced two nodes, moving to logging

* Fixed lint
2022-09-30 21:04:34 +01:00
Alex Sharov
cb60382e6d
erigon3: rename "history.v2" to "history.v3" to avoid naming miss-match with "erigon3" (#5519) 2022-09-26 10:54:42 +07:00
Giulio rebuffo
622d355f5a
first commit (#5493)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 01:53:27 +02:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history (#5351) 2022-09-18 17:41:01 +07:00
Alex Sharov
0e8d5d41fc
remove libmdbx git-submodule, make db-tools work on vendored to mdbx-go .c code (after "make dist") (#5392)
* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save
2022-09-17 12:55:38 +01:00
Max Revitt
0114a4df1f
feat(hive): add makefile command to run hive locally (#5305) 2022-09-07 18:38:45 +07:00
Tim Myers
e2301387eb
chore: goreleaser workflow fix (#5298)
Use the automatically provided GITHUB_TOKEN secret.

Currently only has the default permissions which should let
it read the tag as needed.

Commented permissions would allow it to also automatically write
a github release, but will see if it works without that for now
for minimimum change.
2022-09-07 11:44:21 +07:00
Giulio rebuffo
faebec48c9
Added pedersen hash generator utility in cmd/verkle (#5258)
* added tree key functions for verkle tries

* added tree key functions for verkle tries

* added tree key functions for verkle tries

* Pedersen hash generator

* removed extra functions

* better comment

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-02 15:45:30 +02:00
ledgerwatch
9d88cb59c7
Cleanup interfaces (#5245)
* Cleanup interfaces

* Fix for windows

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 07:00:29 +01:00
Alex Sharov
b4fffacb4c
fix docker ci (#5242) 2022-08-31 11:23:19 +07:00
Max Revitt
159e53d503
EVM fix - issue #5077 (#5233)
* fix(evm): output and add makefile command

* fix(evm): correct number type conversion
2022-08-31 07:51:08 +07:00
Tim Myers
20e882078e
chore: add multi-arch goreleaser workflow (#5185)
Upstreams the improvement from the maticnetwork/erigon fork
to add a goreleaser workflow that will build and release
a docker image for both arm and amd64.
2022-08-27 16:22:28 +07:00
mikolajsobolewski
5390ab6632
Cross-platform iso-8601 date (#5147) 2022-08-23 12:38:02 +07:00
Alex Sharov
351cd49c21
go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
Alex Sharov
9dc15ac5bb
integration mdbx_to_mdbx (#4897) 2022-08-02 13:37:57 +07:00
Alex Sharov
b231856c1c
avoid sudo in makefile #4818 2022-07-25 11:29:34 +07:00
Alex Sharov
62873649d9
lint up 47.2 (#4801) 2022-07-23 10:09:24 +07:00
Max Revitt
d6001225e7
feat(makefile): add documentation and coverage command (#4792) 2022-07-22 14:26:18 +02:00
Alex Sharov
2706b01cea
go mod (#4762) 2022-07-20 12:23:12 +02:00
Alex Sharov
bda2697bcc
linter version up #4745 2022-07-19 10:56:14 +07:00
Alex Sharov
c9306ab8d0
disable asserts in devel (#4746)
* save

* save
2022-07-19 10:54:44 +07:00
Max Revitt
e8f83db208
Gas api unit tests (#4715)
* gas price initial unit tests

* tweak(makefile): gas price test timeout increase

increase test timeout in Makefile to 50s from 30s
to cater for increased test time unit testing
gas price logic.

Co-authored-by: Scott Fairclough <scott@hexosoft.co.uk>
2022-07-15 14:56:35 +02:00
Cory
0ca3ff3858
Fix regex (#4678) 2022-07-09 11:56:23 +06:00
Cory
9f5b401547
Fix grafana startup in docker-compose (#4677)
* grafana user 472:0

* Fix typo extra ~ in Makefile

* Create grafana dir correctly

* chown -R
2022-07-08 12:11:07 +06:00
Cory
74cf9840ae
Patch plumbing of docker-compose UID/GID build args (#4527)
* Patch plumbing of docker-compose UID/GID build args

* Fallback to 1000/1000 if DOCKER_(U|G)ID not set

* Revise README.md instructions for docker further

* Fix existing typo forc 'servie' -> 'service'

* Rename PUID/GUID -> UID/GID

* Specify user in erigon docker service

* Rely on .env instead of specifying :-1000

* Polish Makefile for docker use case

* one more helpful comment

* make docker should use UID/GID --build-arg

* Fix make docker and more fail-fast if envvar set incorrect

* mv .env->.env.example to not intefere existing workflows

* Specify envvars in docker CI

* Adjust validate_docker_build_args to permit non-erigon user

* Also run docker CI target on macos-11 os

* Add DOCKER_UID, DOCKER_GID in hooks/build

* Patch docker build arg validation for macos

* Add actions-setup-docker@master for macos

* Don't run automated test for docker macos

* Cleanup Makefile

* Comments, targets for erigon users

* More Makefile cleanup, debugging still

* Typo fix

* Create subdirs before calling ls

* Get rid of flaky validation

* DOCKER_UID, DOCKER_GID init to runner if not set

* Get rid of unnecessary variable for now

* Improved README based on new changes

* Proper uid/gid `make user_*` when no envars set

* Fix typo in Makefile comment

* Fix make docker as sudo user
2022-06-30 16:11:37 +06:00
3nprob
a738a0dd51
makefile: Add DOCKER_{UID,GID,TAG} make params (#4457)
Co-authored-by: 3np <3np@example.com>
2022-06-16 15:50:59 +01:00
ledgerwatch
8e3ac8a21c
Erigon2 upgrade 2 prototype (#4341)
* Erigon2 upgrade 2 prototype

* Latest erigon-lib

* Fixes

* Fix print

* Fix maxSpan

* Reduce maxSpan

* Remove duplicate joins

* TxNum

* Fix resuming

* first draft of history22

* Introduce historical reads

* Update to erigon-lib

* Update erigon-lib

* Update erigon-lib

* Fixes and tracing for checkChangeSets

* More trace

* Print account details

* fix getHeader

* Update to erigon-lib main

* Add tracer indices and event log indices

* Fix calltracer

* Fix calltracer

* Duplicate rpcdaemon into rpcdaemon22

* Fix tests

* Fix tests

* Fix tests

* Update to latest erigon-lib

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-10 16:18:43 +01:00
Alex Sharov
de20b01e27
"make docker" add latest tag #4361 2022-06-04 12:59:22 +07:00
Alex Sharov
4150c66eb7
Dockerfile add buildcache (#4332) 2022-06-02 15:49:21 +07:00
Alex Sharov
955c669d21
Group few sync configs (#4303)
* save

* save
2022-05-30 17:08:49 +07:00
Alex Sharov
66248c4bfb
Torrent: verify all files (#4270) 2022-05-26 12:27:44 +07:00
Alex Sharov
fc1a37e6dc
create turbo/services pkg (#4269) 2022-05-26 10:31:06 +07:00
battlmonstr
0d259384a0
CI (#3779): pass docker build arguments on Docker Hub (#4252) 2022-05-25 08:12:40 +07:00
Alex Sharov
cb70e3315b
use git submodule sync --recursive because submodule url changed (#4243) 2022-05-24 10:58:46 +07:00
battlmonstr
54cf932652
Makefile: pass docker build arguments (#4212)
Dockerfile requires some --build-arg options.
Fix "docker" target to pass them.
Fix GIT_TAG to reflect the most recent tag related to HEAD, instead of an unrelated most recent tag.
Use it as the image VERSION.

Image tags need to be passed explicitly if needed:

    DOCKER_FLAGS='-t erigon:latest' make docker
2022-05-21 10:21:35 +01:00