Update go mod.
This commit is contained in:
parent
c0a4600ce7
commit
3d1b308326
@ -1,26 +1,28 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE eth.log_cids (
|
||||
id SERIAL PRIMARY KEY,
|
||||
receipt_id INTEGER NOT NULL REFERENCES eth.receipt_cids (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
|
||||
address VARCHAR(66),
|
||||
cid TEXT NOT NULL,
|
||||
log_data BYTEA,
|
||||
mh_key TEXT NOT NULL REFERENCES public.blocks (key) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
|
||||
index INTEGER NOT NULL,
|
||||
topic0 VARCHAR(66),
|
||||
topic1 VARCHAR(66),
|
||||
topic2 VARCHAR(66),
|
||||
topic3 VARCHAR(66),
|
||||
id SERIAL PRIMARY KEY,
|
||||
receipt_id INTEGER NOT NULL REFERENCES eth.receipt_cids (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
|
||||
address VARCHAR(66),
|
||||
cid TEXT NOT NULL,
|
||||
log_data BYTEA,
|
||||
mh_key TEXT NOT NULL REFERENCES public.blocks (key) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
|
||||
index INTEGER NOT NULL,
|
||||
topic0 VARCHAR(66),
|
||||
topic1 VARCHAR(66),
|
||||
topic2 VARCHAR(66),
|
||||
topic3 VARCHAR(66),
|
||||
UNIQUE (receipt_id, index)
|
||||
);
|
||||
|
||||
ALTER TABLE eth.receipt_cids
|
||||
DROP COLUMN topic0s,
|
||||
DROP COLUMN topic1s,
|
||||
DROP COLUMN topic2s,
|
||||
DROP COLUMN topic3s,
|
||||
DROP COLUMN log_contracts,
|
||||
ADD COLUMN log_root VARCHAR(66);
|
||||
DROP COLUMN topic0s,
|
||||
DROP COLUMN topic1s,
|
||||
DROP COLUMN topic2s,
|
||||
DROP COLUMN topic3s,
|
||||
DROP COLUMN log_contracts,
|
||||
ADD COLUMN log_root VARCHAR(66);
|
||||
|
||||
CREATE INDEX log_rct_id_index ON eth.log_cids USING btree (receipt_id);
|
||||
|
||||
CREATE INDEX log_mh_index ON eth.log_cids USING btree (mh_key);
|
||||
|
||||
|
4
go.mod
4
go.mod
@ -3,7 +3,7 @@ module github.com/vulcanize/ipld-eth-server
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
github.com/ethereum/go-ethereum v1.9.25
|
||||
github.com/ethereum/go-ethereum v1.10.6
|
||||
github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29
|
||||
github.com/ipfs/go-block-format v0.0.2
|
||||
github.com/ipfs/go-cid v0.0.7
|
||||
@ -26,6 +26,6 @@ require (
|
||||
github.com/vulcanize/ipfs-ethdb v0.0.2-alpha
|
||||
)
|
||||
|
||||
replace github.com/ethereum/go-ethereum v1.9.25 => /Users/arijitdas/go/src/github.com/ethereum/go-ethereum
|
||||
replace github.com/ethereum/go-ethereum v1.10.6 => github.com/vulcanize/go-ethereum v1.10.6-statediff-0.0.25.0.20210816125050-7b20e5918be3
|
||||
|
||||
replace github.com/vulcanize/ipfs-ethdb v0.0.2-alpha => github.com/vulcanize/pg-ipfs-ethdb v0.0.2-alpha
|
2
go.sum
2
go.sum
@ -1396,6 +1396,8 @@ github.com/vulcanize/go-ethereum v1.10.4-statediff-0.0.24 h1:puM4Qav1IFH99D7cXyk
|
||||
github.com/vulcanize/go-ethereum v1.10.4-statediff-0.0.24/go.mod h1:kf/AR/qS19tnEjA5E8gx9OqokwuyDK5miAfo4hV4TnY=
|
||||
github.com/vulcanize/go-ethereum v1.10.4-statediff-0.0.25 h1:E5GvQBMxmZf1Jlu14UNC7wqh+6/cMNnEoHLDCVVIE94=
|
||||
github.com/vulcanize/go-ethereum v1.10.4-statediff-0.0.25/go.mod h1:rEjFTSfHtouzACrN+/EpWDTt6BauEIQEC7Czbv9k1DY=
|
||||
github.com/vulcanize/go-ethereum v1.10.6-statediff-0.0.25.0.20210816125050-7b20e5918be3 h1:nI+tD4pJGh5lVB4SBdcMUiMZqWO90a5Acn/no/Llud8=
|
||||
github.com/vulcanize/go-ethereum v1.10.6-statediff-0.0.25.0.20210816125050-7b20e5918be3/go.mod h1:Ph8UxrzyNNqtLqSm5v/q4AxYQ3kwEf3nlo3mdhmvZCw=
|
||||
github.com/vulcanize/ipfs-ethdb v0.0.2 h1:Ogp9k+OMKIn2xo9Y9VoNTjd5v1kXcjL+k3cDQwqpUPU=
|
||||
github.com/vulcanize/ipfs-ethdb v0.0.2/go.mod h1:9yDJ8PCVKK4auwM8KgVLVkGM05Atp2OITJvt6cSvsHs=
|
||||
github.com/vulcanize/ipld-eth-indexer v0.7.0-alpha h1:VuvKC2qLajohczJX74lwBrpr/X8ZNSyC23jIdN5Ppxg=
|
||||
|
Loading…
Reference in New Issue
Block a user