Commit Graph

200 Commits

Author SHA1 Message Date
Alex Sharov
8a4a7d7664
Mdbx: more 4tb fixes (#3351) 2022-01-31 16:59:49 +07:00
Alex Sharov
afbf083242
fix makefile deps on submodules (#3383) 2022-01-31 12:43:48 +07:00
alex.sharov
bd0052d422 disable mdbx assertions 2022-01-23 15:03:20 +07:00
alex.sharov
b78645429f don't loose default CGO_CFLAGS 2022-01-23 10:05:31 +07:00
alex.sharov
3f5e6f9783 better comment 2022-01-23 09:28:09 +07:00
Alex Sharov
5ec82034c9
Mdbx 0.11.4 (fixes for 4tb asserts logic) (#3324)
* mdbx 0.11.4

* mdbx 0.11.4

* configurable debug and asserts

* configurable debug and asserts
2022-01-23 09:08:07 +07:00
Alex Sharov
df2f11771c
DockerHub and git submodules (#3295)
* save

* save

* save

* save

* save

* save

* save

* save
2022-01-19 07:54:56 +00:00
Igor Mandrigin
f0684f9e44
workaround Docker issues pt 2 (#3288) 2022-01-18 13:06:07 +01:00
Igor Mandrigin
c4b6397636
Update Makefile (#3287) 2022-01-18 18:41:34 +07:00
Alex Sharov
f3973afee8
Rule guard linter enable (#3168) 2021-12-26 10:54:26 +07:00
Alex Sharov
5125c82cd9
add git submodules set to erigon build (#3154)
* save

* save
2021-12-22 11:18:35 +07:00
Alex Sharov
37f0dcecc1
init recursive git submodules on dockerhub (#3132)
* init recursive git submodules on dockerhub

* 32 * default

* 32 * default

* save
2021-12-15 16:07:57 +07:00
leonardchinonso
607e958123
Committing changes for devnettest (#3026) 2021-11-23 16:44:46 +00:00
ledgerwatch
becb25021b
Revert erroneous merge (#3022)
* 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>
2021-11-22 18:33:37 +00:00
leonardchinonso
dc4c001f51 Implemented devnet test for eth_getBalance 2021-11-22 18:36:33 +01:00
Alex Sharov
5fb1a4ce49
Add db-tools to Dockerfile (#2950) 2021-11-15 10:14:19 +07:00
alex.sharov
e95b63d404 add hack to dockerfile 2021-10-31 07:39:47 +07:00
Alex Sharov
da00e949c4
RemoteRPC: coherentCache for kv.Code; LocalRPC: enable small blocksLRU (#2815) 2021-10-12 12:04:04 +07:00
Alex Sharov
2e23851434
git describe to search tags across all branches (#2664) 2021-09-11 15:12:11 +07:00
Mark Evenson
8dccc442fc
build: parameterize location of go executable (#2547)
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>
2021-08-18 15:49:53 +07:00
sam bacha
c682dd16d7
minor dockerfile improvements (#2443) 2021-07-27 09:39:21 +07:00
Marius
d085bf9a7f
docker-compose with minimal PID namespace and non-root permissions (#2397)
* 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.
2021-07-19 20:40:09 +07:00
alex.sharov
508573709c update lintci domain 2021-07-18 16:41:31 +07:00
Alex Sharov
71a7e54db0
docker readme (#2394) 2021-07-18 15:22:35 +07:00
Marius
b69638b58e
Feat: Experimental workaround for dockerized rpcdaemon in Local-Mode. Fix some permissions issues in docker containers. (#2392) 2021-07-18 14:42:23 +07:00
alex.sharov
c75a83fa34 fix tag ld 2021-07-15 13:44:30 +07:00
Alex Sharov
6a5f86423c
Remove "numgc" from logs (#2275) 2021-07-03 14:44:23 +07:00
ledgerwatch
a05d1be531
Pull grpc bindings into erigon-lib (#2265)
* Pull grpc bindings into erigon-lib

* Remove mdbx dist

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-01 22:31:14 +01:00
Alex Sharov
6b21eab364
pull submodules on make db-tools (#2241) 2021-06-27 09:53:49 +07:00
Alex Sharov
605d7a8d59
Sokol v0 (#2228)
* handle chain flag in integration

* handle chain flag in integration

* handle chain flag in integration

* save

* save

* merge devel

* save

* noopWriter - one is enough

* chain spec parser

* chain spec parser

* embed

* embed

* embed

* embed

* embed

* embed

* embed

* clean

* clean

* correct alloc after reset state

* correct alloc after reset state

* correct alloc after reset state

* integration reset state now does re-apply genesis and chainConfig

* eips summary

* eips summary

* eips summary
2021-06-25 19:13:40 +01:00
Alex Sharov
a535e8f30c
switch to mdbx-go module, and db-tools to libmdbx submodule (#2199)
* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule
2021-06-19 21:30:12 +01:00
Alex Sharov
e9f510c2b7
erigon as lib (#2186) 2021-06-18 10:35:11 +07:00
ledgerwatch
64254f8d1e
Experiment with tests (#2182)
* Experiment with tests

* Increase test concurrency to 8

* Lower concurrency

* Concurrency back to 2

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-16 20:50:40 +01:00
Artem Vorotnikov
cb96a400e5
Increase test timeout to 30m (#2168) 2021-06-15 13:41:38 +01:00
Alex Sharov
925d17a238
remove lmdb from hack, integration, state packages. remove lmdb dbtools (#2146) 2021-06-11 20:31:37 +07:00
Alex Sharov
e7b56358d3
Mdbx reproducible build (#2145)
* save

* save

* save
2021-06-11 14:04:12 +01:00
Alex Sharov
eedabfca85
txpool_content (#2127)
* txpool_content

* txpool_content

* txpool_content

* txpool_content

* Squashed 'interfaces/' content from commit 1e916d013

git-subtree-dir: interfaces
git-subtree-split: 1e916d0137aff7bd9e9356cc203cea5f0ea9c7f1

* add test

* add test

* add test

* merge devel

* save
2021-06-11 09:34:47 +01:00
Alex Sharov
ba56e7a139
extract p2p config out of sentry (#2126)
* extract p2p config out of sentry

* extract p2p config out of sentry

* extract p2p config out of sentry

* rebase devel

* rebase devel

* add bootnodes to sentry

* add bootnodes to sentry
2021-06-11 09:34:37 +01:00
alex.sharov
f43643edde more cgo checks on ci 2021-06-07 21:18:16 +07:00
Andrea Lanfranchi
e6e0a5de3d
Add repo tag to build info (#2108)
* Add repo tag to build info

* Update Dockerfile
2021-06-06 09:05:30 +01:00
Alex Sharov
bebaebb13a
mdbx 0.10.1 (#2083)
* mdbx 0.10.1

* remove -tags mdbx

* remove -tags mdbx

* remove -tags mdbx
2021-06-04 13:26:15 +01:00
alex.sharov
8bc5cf4281 remove headers binary 2021-06-03 14:36:30 +07:00
alex.sharov
53f8026cd9 remove headers binary 2021-06-03 14:36:11 +07:00
alex.sharov
7b92b98f7a add config2.h to gitignore 2021-06-03 14:18:48 +07:00
alex.sharov
f1efb0f8e3 add config2.h to gitignore 2021-06-03 14:18:26 +07:00
Alex Sharov
9fe96e8a95
reproducible build (#2070) 2021-06-01 16:00:10 +07:00
Alex Sharov
a6dfafd5cd
rename headers to sentry (#2060) 2021-05-31 17:20:56 +07:00
Alex Sharov
3016b96e88
1 Sentry per protocol (#2046) 2021-05-30 09:53:30 +07:00
ledgerwatch
5a0afc0a72
Remove old tg binary before building erigon binary (#2023)
* Update Makefile

* Use -f flag
2021-05-27 06:57:25 +01:00
Evgeny Danilenko
74847d77e6
Rename to Erigon (#2018)
* turbo-geth to erigon

* tg, turbo to erigon
2021-05-26 11:35:39 +01:00