mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
Make caplin snapshots downloadable (only sepolia) (#9105)
This commit is contained in:
parent
19bc328a07
commit
580c55517f
@ -50,7 +50,6 @@ func (a *ApiHandler) getCommittees(r *http.Request) (*beaconResponse, error) {
|
||||
return nil, beaconhttp.NewEndpointError(httpStatus, err.Error())
|
||||
}
|
||||
|
||||
fmt.Println("A")
|
||||
slotPtr, err := beacon_indicies.ReadBlockSlotByBlockRoot(tx, blockRoot)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
@ -4,7 +4,7 @@ go 1.20
|
||||
|
||||
require (
|
||||
github.com/erigontech/mdbx-go v0.27.21
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231228074446-212b6ad9b1bd
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231231003543-2e5b51fdebbf
|
||||
github.com/ledgerwatch/interfaces v0.0.0-20231209102305-b17e86fbe07d
|
||||
github.com/ledgerwatch/log/v3 v3.9.0
|
||||
github.com/ledgerwatch/secp256k1 v1.0.0
|
||||
|
@ -291,8 +291,8 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231228074446-212b6ad9b1bd h1:XBi7SnhjgiZYsY/jndu64Ou0Z2QQg35NlUB9YmA0Qxc=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231228074446-212b6ad9b1bd/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231231003543-2e5b51fdebbf h1:DfQThtAmlQ4vnzA+jXR2xsXyWejzX2SfFKw2i9nOmaI=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231231003543-2e5b51fdebbf/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
|
||||
github.com/ledgerwatch/interfaces v0.0.0-20231209102305-b17e86fbe07d h1:7aB9lKmUGAaWt4TzXnGLzJSZkhyuqREMmaao+Gn5Ky0=
|
||||
github.com/ledgerwatch/interfaces v0.0.0-20231209102305-b17e86fbe07d/go.mod h1:ugQv1QllJzBny3cKZKxUrSnykkjkBgm27eQM6dnGAcc=
|
||||
github.com/ledgerwatch/log/v3 v3.9.0 h1:iDwrXe0PVwBC68Dd94YSsHbMgQ3ufsgjzXtFNFVZFRk=
|
||||
|
2
go.mod
2
go.mod
@ -186,7 +186,7 @@ require (
|
||||
github.com/koron/go-ssdp v0.0.4 // indirect
|
||||
github.com/kr/pretty v0.3.1 // indirect
|
||||
github.com/kr/text v0.2.0 // indirect
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231228074446-212b6ad9b1bd // indirect
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231231003543-2e5b51fdebbf // indirect
|
||||
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
|
||||
github.com/libp2p/go-cidranger v1.1.0 // indirect
|
||||
github.com/libp2p/go-flow-metrics v0.1.0 // indirect
|
||||
|
4
go.sum
4
go.sum
@ -542,8 +542,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3PYPwICLl+/9oulQauOuETfgFvhBDffs0=
|
||||
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
|
||||
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231228074446-212b6ad9b1bd h1:XBi7SnhjgiZYsY/jndu64Ou0Z2QQg35NlUB9YmA0Qxc=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231228074446-212b6ad9b1bd/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231231003543-2e5b51fdebbf h1:DfQThtAmlQ4vnzA+jXR2xsXyWejzX2SfFKw2i9nOmaI=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231231003543-2e5b51fdebbf/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
|
||||
github.com/ledgerwatch/log/v3 v3.9.0 h1:iDwrXe0PVwBC68Dd94YSsHbMgQ3ufsgjzXtFNFVZFRk=
|
||||
github.com/ledgerwatch/log/v3 v3.9.0/go.mod h1:EiAY6upmI/6LkNhOVxb4eVsmsP11HZCnZ3PlJMjYiqE=
|
||||
github.com/ledgerwatch/secp256k1 v1.0.0 h1:Usvz87YoTG0uePIV8woOof5cQnLXGYa162rFf3YnwaQ=
|
||||
|
Loading…
Reference in New Issue
Block a user