From 2a7af9d7554d7135be35460a8770efe34e91d7e3 Mon Sep 17 00:00:00 2001 From: Aaron Lu <50029043+aalu1418@users.noreply.github.com> Date: Wed, 19 Jan 2022 09:42:18 -0500 Subject: [PATCH] update gauntlet artifacts (#121) --- .../artifacts/schemas/ocr2.json | 98 +++++++++++++++++-- .../artifacts/schemas/store.json | 53 ---------- 2 files changed, 90 insertions(+), 61 deletions(-) diff --git a/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/ocr2.json b/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/ocr2.json index 0e6c4d8ef..571bb313f 100644 --- a/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/ocr2.json +++ b/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/ocr2.json @@ -962,12 +962,7 @@ "name": "SetConfig", "fields": [ { - "name": "previousConfigBlockNumber", - "type": "u64", - "index": false - }, - { - "name": "latestConfigDigest", + "name": "configDigest", "type": { "array": [ "u8", @@ -975,17 +970,79 @@ ] }, "index": false + }, + { + "name": "f", + "type": "u8", + "index": false + }, + { + "name": "signers", + "type": { + "vec": { + "array": [ + "u8", + 20 + ] + } + }, + "index": false + } + ] + }, + { + "name": "SetBilling", + "fields": [ + { + "name": "observationPaymentGjuels", + "type": "u32", + "index": false + }, + { + "name": "transmissionPaymentGjuels", + "type": "u32", + "index": false } ] }, { "name": "RoundRequested", "fields": [ + { + "name": "configDigest", + "type": { + "array": [ + "u8", + 32 + ] + }, + "index": false + }, { "name": "requester", "type": "publicKey", "index": false }, + { + "name": "epoch", + "type": "u32", + "index": false + }, + { + "name": "round", + "type": "u8", + "index": false + } + ] + }, + { + "name": "NewTransmission", + "fields": [ + { + "name": "roundId", + "type": "u32", + "index": true + }, { "name": "configDigest", "type": { @@ -997,14 +1054,39 @@ "index": false }, { - "name": "round", + "name": "answer", + "type": "i128", + "index": false + }, + { + "name": "transmitter", "type": "u8", "index": false }, { - "name": "epoch", + "name": "observationsTimestamp", "type": "u32", "index": false + }, + { + "name": "observers", + "type": { + "array": [ + "u8", + 19 + ] + }, + "index": false + }, + { + "name": "juelsPerLamport", + "type": "u64", + "index": false + }, + { + "name": "reimbursement", + "type": "u64", + "index": false } ] } diff --git a/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/store.json b/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/store.json index c0b9f9c40..02152b0a1 100644 --- a/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/store.json +++ b/gauntlet/packages/gauntlet-solana-contracts/artifacts/schemas/store.json @@ -260,11 +260,6 @@ "name": "feed", "isMut": false, "isSigner": false - }, - { - "name": "buffer", - "isMut": true, - "isSigner": false } ], "args": [ @@ -298,54 +293,6 @@ ] } }, - { - "name": "Decimals", - "type": { - "kind": "struct", - "fields": [ - { - "name": "decimals", - "type": "u8" - } - ] - } - }, - { - "name": "Version", - "type": { - "kind": "struct", - "fields": [ - { - "name": "version", - "type": "u8" - } - ] - } - }, - { - "name": "Description", - "type": { - "kind": "struct", - "fields": [ - { - "name": "description", - "type": "string" - } - ] - } - }, - { - "name": "Address", - "type": { - "kind": "struct", - "fields": [ - { - "name": "address", - "type": "publicKey" - } - ] - } - }, { "name": "Store", "type": {