Skip to content

Commit d331393

Browse files
cctdanielguibescos
andauthored
[xc-admin] add general tab (#551)
* add UpdateProductMetadata page * add first iteration of general tab * add more functions * fix ModalContent to show diff * add feature to add new price account * ignore price account address in json when adding new price feeds * ignore product address and price account address in json for new pricefeed * address comments * fix preview crashing * Restore addresses * fix error when no price account exists * fix validation --------- Co-authored-by: Guillermo Bescos Alapont <[email protected]>
1 parent 85cf4fb commit d331393

File tree

7 files changed

+787
-13
lines changed

7 files changed

+787
-13
lines changed

governance/xc_admin/packages/xc_admin_common/src/multisig.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ import { InstructionAccount, TransactionAccount } from "@sqds/mesh/lib/types";
88
import BN from "bn.js";
99
import lodash from "lodash";
1010

11+
/**
12+
* Address of the ops key (same on all networks)
13+
*/
14+
export const OPS_KEY = new PublicKey(
15+
"ACzP6RC98vcBk9oTeAwcH1o5HJvtBzU59b5nqdwc7Cxy"
16+
);
17+
1118
/**
1219
* Find all proposals for vault `vault` using Squads client `squad`
1320
* @param squad Squads client

governance/xc_admin/packages/xc_admin_frontend/components/tabs/AddRemovePublishers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const AddRemovePublishers = () => {
175175
Object.keys(publisherChanges).forEach((symbol) => {
176176
const { prev, new: newPublisherKeys } = publisherChanges[symbol]
177177
// prev and new are arrays of publisher pubkeys
178-
// check if there are any new publishers by comparing prev and new
178+
// check if there are any new publishers to add by comparing prev and new
179179
const publisherKeysToAdd = newPublisherKeys.filter(
180180
(newPublisher) => !prev.includes(newPublisher)
181181
)

0 commit comments

Comments
 (0)