-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from kevinheavey/anchor-0.30
Upgrade to Anchor 0.30
- Loading branch information
Showing
9 changed files
with
218 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
{ | ||
"name": "anchor-bankrun", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist/" | ||
], | ||
"files": ["dist/"], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@coral-xyz/anchor": "^0.28.0", | ||
"@coral-xyz/anchor": "^0.30.0", | ||
"@solana/web3.js": "^1.78.4", | ||
"@types/bn.js": "^5.1.1", | ||
"@types/bs58": "^4.0.1", | ||
|
@@ -36,7 +34,7 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"peerDependencies": { | ||
"@coral-xyz/anchor": "^0.28.0", | ||
"@coral-xyz/anchor": "^0.30.0", | ||
"@solana/web3.js": "^1.78.4", | ||
"solana-bankrun": "^0.2.0" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"address": "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS", | ||
"metadata": { | ||
"name": "puppet", | ||
"version": "0.1.0", | ||
"spec": "0.1.0", | ||
"description": "Created with Anchor" | ||
}, | ||
"instructions": [ | ||
{ | ||
"name": "initialize", | ||
"discriminator": [175, 175, 109, 31, 13, 152, 155, 237], | ||
"accounts": [ | ||
{ | ||
"name": "puppet", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "user", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "system_program", | ||
"address": "11111111111111111111111111111111" | ||
} | ||
], | ||
"args": [] | ||
}, | ||
{ | ||
"name": "set_data", | ||
"discriminator": [223, 114, 91, 136, 197, 78, 153, 153], | ||
"accounts": [ | ||
{ | ||
"name": "puppet", | ||
"writable": true | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "data", | ||
"type": "u64" | ||
} | ||
] | ||
} | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "Data", | ||
"discriminator": [206, 156, 59, 188, 18, 79, 240, 232] | ||
} | ||
], | ||
"types": [ | ||
{ | ||
"name": "Data", | ||
"type": { | ||
"kind": "struct", | ||
"fields": [ | ||
{ | ||
"name": "data", | ||
"type": "u64" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"address": "HmbTLCmaGvZhKnn1Zfa1JVnp7vkMV4DYVxPLWBVoN65L", | ||
"metadata": { | ||
"name": "puppet_master", | ||
"version": "0.1.0", | ||
"spec": "0.1.0", | ||
"description": "Created with Anchor" | ||
}, | ||
"instructions": [ | ||
{ | ||
"name": "pull_strings", | ||
"discriminator": [13, 252, 243, 149, 120, 132, 189, 145], | ||
"accounts": [ | ||
{ | ||
"name": "puppet", | ||
"writable": true | ||
}, | ||
{ | ||
"name": "puppet_program", | ||
"address": "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS" | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "data", | ||
"type": "u64" | ||
} | ||
] | ||
} | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "Data", | ||
"discriminator": [206, 156, 59, 188, 18, 79, 240, 232] | ||
} | ||
], | ||
"types": [ | ||
{ | ||
"name": "Data", | ||
"type": { | ||
"kind": "struct", | ||
"fields": [ | ||
{ | ||
"name": "data", | ||
"type": "u64" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.