go-ethereum/consensus/bor
PeaStew dac1a42fa8
Update client.go to allow the use of paths with the heimdall url (#1126)
* Update client.go to allow the use of paths with the heimdall url

As reported to the polygon team 2 months ago in the Ankr polygon slack, the current code prevents the use of a path with the heimdall url, this was fixed in erigon ledgerwatch/erigon@a3a6170 in response to my request by Mark Holt, and it seems this code was just copied from bor where it is incorrect too. This patch fixes that.

* Add reference to path library

* Fix reversed order of values in unit tests and test removal of setting u.path to rawPath (otherwise why do we need rawPath at all) seems like there were work arounds done here in bioth the unit tests AND the makeURL but logic needs to be examined
2024-01-15 09:46:15 +01:00
..
abi Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
api fix testcases 2023-09-23 15:18:40 +05:30
clerk Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
contract merge develop 2023-09-04 14:14:19 +05:30
heimdall Update client.go to allow the use of paths with the heimdall url (#1126) 2024-01-15 09:46:15 +01:00
heimdallapp all: implement milestones (#961) 2023-08-28 18:42:21 +05:30
heimdallgrpc all: implement milestones (#961) 2023-08-28 18:42:21 +05:30
statefull merge develop 2023-11-03 10:10:02 +05:30
valset Merge branch 'develop' into mardizzone/upstream-merge 2023-07-31 12:09:22 +05:30
api.go Rmv:Removed GetVoteOnHash() fn from consensus/bor/api.go 2023-09-12 16:39:08 +05:30
bor.go merge develop 2023-11-03 10:10:02 +05:30
bor_test.go fix build 2023-08-21 17:48:09 +05:30
errors.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
genesis.go Implement PIP-12, Time Based StateSync Confirmations Delay (#864) 2023-06-06 20:40:46 +05:30
genesis_contract_mock.go consensus/bor,eth/filters,miner,params,tests: fix mocks 2023-07-12 15:17:58 +08:00
heimdall.go all: implement milestones (#961) 2023-08-28 18:42:21 +05:30
merkle.go Reciept e2e test (#431) 2022-07-14 19:28:56 +03:00
snapshot.go Merge branch 'develop' into mardizzone/upstream-merge 2023-07-24 14:19:30 +05:30
snapshot_test.go dev: fix: most of wsl lint issues 2023-06-15 15:48:26 +02:00
span.go Merge qa to develop (#814) 2023-04-10 16:21:18 +05:30
span_mock.go consensus/bor,eth/filters,miner,params,tests: fix mocks 2023-07-12 15:17:58 +08:00