spl, ts: Pin serum-dex and lint (#735)
This commit is contained in:
parent
cc8e7b416c
commit
0faed88600
|
@ -12,6 +12,6 @@ devnet = []
|
|||
[dependencies]
|
||||
anchor-lang = { path = "../lang", version = "0.15.0", features = ["derive"] }
|
||||
lazy_static = "1.4.0"
|
||||
serum_dex = { git = "https://github.com/project-serum/serum-dex", version = "0.4.0", features = ["no-entrypoint"] }
|
||||
serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"] }
|
||||
solana-program = "=1.7.11"
|
||||
spl-token = { version = "3.1.1", features = ["no-entrypoint"] }
|
||||
|
|
|
@ -234,12 +234,9 @@ export class NodeWallet implements Wallet {
|
|||
const payer = Keypair.fromSecretKey(
|
||||
Buffer.from(
|
||||
JSON.parse(
|
||||
require("fs").readFileSync(
|
||||
process.env.ANCHOR_WALLET,
|
||||
{
|
||||
require("fs").readFileSync(process.env.ANCHOR_WALLET, {
|
||||
encoding: "utf-8",
|
||||
}
|
||||
)
|
||||
})
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue