d4ace76273
wip: made storage mostly generic minus modules
changed error types to make modules dyn compatible
implemented traits for sqlite instance
using sqlite instance for rewarder and chain watcher
psql scaffolding
initial postgres support - missing some proto -> json parsing
use postgres in chain scraper
added message registry to block processor
message content parsing in psql
involved addresses
adding null value for logs
Revert "use postgres in chain scraper"
This reverts commit 83c84bfd2d.
using SignerInfo proto definitions for db serialisation
added ibc messages to MessageRegistry
10 lines
240 B
SQL
10 lines
240 B
SQL
/*
|
|
* Copyright 2023 - Nym Technologies SA <contact@nymtech.net>
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
CREATE TABLE METADATA
|
|
(
|
|
id INTEGER PRIMARY KEY CHECK (id = 0),
|
|
last_processed_height INTEGER NOT NULL
|
|
); |