Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Deployment scripts + values #210

Open
wants to merge 9 commits into
base: deployment-scripts
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor script name string patch
  • Loading branch information
hernandp committed Jan 10, 2025
commit a06271ee60698ae6d0b233e4f1758958292c4c61
2 changes: 1 addition & 1 deletion deployment/scripts/solana/closeProposal.ts
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import { solana, getLocalDependencyAddress, env } from "../../helpers";
import { capitalize } from "../../helpers/utils";
import { circle } from "@wormhole-foundation/sdk-base";

solana.runOnSolana("update-auction-parameters", async (chain, signer, log) => {
solana.runOnSolana("close-proposal", async (chain, signer, log) => {
const matchingEngineId = getLocalDependencyAddress("matchingEngineProxy", chain) as ProgramId;
const canonicalEnv = capitalize(env);
if (canonicalEnv !== "Mainnet" && canonicalEnv !== "Testnet") {
4 changes: 2 additions & 2 deletions deployment/scripts/solana/fetchProposal.ts
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@ import {
} from "@solana/web3.js";
import "dotenv/config";
import { MatchingEngineProgram } from "@wormhole-foundation/example-liquidity-layer-solana/matchingEngine";
import { solana, getLocalDependencyAddress, env, getMatchingEngineAuctionParameters, capitalize } from "../../helpers";
import { solana, getLocalDependencyAddress, env, capitalize } from "../../helpers";
import { ProgramId } from "@wormhole-foundation/example-liquidity-layer-solana/matchingEngine";
import { circle } from "@wormhole-foundation/sdk-base";

solana.runOnSolana("update-auction-parameters", async (chain, signer, log) => {
solana.runOnSolana("fetch-proposal", async (chain, signer, log) => {
const matchingEngineId = getLocalDependencyAddress("matchingEngineProxy", chain) as ProgramId;

const canonicalEnv = capitalize(env);
2 changes: 1 addition & 1 deletion deployment/scripts/solana/proposeAuctionParameters.ts
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import { MatchingEngineProgram, ProgramId } from "@wormhole-foundation/example-l
import { capitalize, env, getLocalDependencyAddress, getMatchingEngineAuctionParameters, solana } from "../../helpers";
import { circle } from "@wormhole-foundation/sdk-base";

solana.runOnSolana("update-auction-parameters", async (chain, signer, log) => {
solana.runOnSolana("propose-auction-parameters", async (chain, signer, log) => {
const matchingEngineId = getLocalDependencyAddress("matchingEngineProxy", chain) as ProgramId;
const canonicalEnv = capitalize(env);
if (canonicalEnv !== "Mainnet" && canonicalEnv !== "Testnet") {