* 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
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
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.
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.
* 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>
* 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
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
* Separate handover timing
* Update
* Corrected handover time calculation
* Not use compression when aggregate
* Update to latest erigon-lib
* Update to erigon-lib main
* Update
* Disable reproducible builds
* Restore github actions
* Restore github actions
* Revert "linter to support go 1.18 (#3739)"
This reverts commit 1fd434d3d1.
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
The command builds were always using the root go.mod.
Adding cmd/mycmd/go.mod produced an "package not found" error.
This changes the build to run in the cmd/mycmd directory:
* If cmd/mycmd/go.mod is present, it is used.
* Otherwise it builds the main package using the root go.mod as before.
* Revert "Making corrections to code formatting"
This reverts commit c154d65cec.
* Revert "Implemented devnet test for eth_getBalance"
This reverts commit dc4c001f51.
Co-authored-by: Alex Sharp <alexsharp@alexs-macbook-pro.home>
Allow the location of the golang exectuable to be specified by
Makefile variable. This can help building in situations where the
default system golang executable is not of sufficient version to build.
Co-authored-by: Mark Evenson <mevenson@ravenpack.com>
* Feat: only share the erigon container PID namespace with rpcdaemon instead of the entire host PID namespace.
* Feat: remove host UID:GUID mapping from erigon and rpcdaemon containers in favour of erigon user in Dockerfile. Adapted Makefile to pre-create mounted volumes to avoid permission issues at runtime.
* Feat: docker volume directories should always be owned by erigon user(1000:1000) regardless of the user that invoked the make command.
* Fix: don't chown here which breaks docker volume mounts.
* Fix: remove ERIGON_HOME Makefile variable and simplify recipe.