API state endpoint test

This commit is contained in:
laisolizq
2020-11-10 12:54:22 +01:00
parent 6ec7a0b55d
commit 43e9bee9db
9 changed files with 351 additions and 271 deletions

View File

@@ -469,6 +469,7 @@ func TestSetInitialSCVars(t *testing.T) {
big.NewInt(10),
12,
13,
[5]common.Bucket{},
}
//nolint:govet
auction := &common.AuctionVariables{

View File

@@ -520,7 +520,8 @@ CREATE TABLE rollup_vars (
eth_block_num BIGINT PRIMARY KEY REFERENCES block (eth_block_num) ON DELETE CASCADE,
fee_add_token BYTEA NOT NULL,
forge_l1_timeout BYTEA NOT NULL,
withdrawal_delay BIGINT NOT NULL
withdrawal_delay BIGINT NOT NULL,
buckets BYTEA
);
CREATE TABLE auction_vars (