Skip to content

Commit

Permalink
Debug CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelleher committed Dec 20, 2023
1 parent e1c52d0 commit ffe4fe1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ jobs:
target
key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('rust-toolchain.toml') }}
- name: run tests
run: yarn test
run: |
pwd
cat ./tmp.sh
yarn test
yarn anchor test packages/tests/src/functional/beams/core.test.ts
- uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cluster = "Localnet"
wallet = "packages/tests/fixtures/provider.json"

[scripts]
test = "echo in $(pwd)"
test = "./tmp.sh"

[test.validator]
slots_per_epoch = "32"
Expand Down
6 changes: 4 additions & 2 deletions packages/sdks/common/src/types/marinade_beam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ export type MarinadeBeam = {
{
"name": "vaultAuthorityBump",
"docs": [
"that holds pool tokens(msol in this case)."
"The bump of the PDA that can authorize spending from the vault",
"that holds pool tokens (msol in this case)."
],
"type": "u8"
},
Expand Down Expand Up @@ -1685,7 +1686,8 @@ export const IDL: MarinadeBeam = {
{
"name": "vaultAuthorityBump",
"docs": [
"that holds pool tokens(msol in this case)."
"The bump of the PDA that can authorize spending from the vault",
"that holds pool tokens (msol in this case)."
],
"type": "u8"
},
Expand Down
24 changes: 20 additions & 4 deletions packages/sdks/common/src/types/marinade_lp_beam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ export type MarinadeLpBeam = {
{
"name": "liqPoolVault",
"isMut": true,
"isSigner": false
"isSigner": false,
"docs": [
"The token account of the liquidity pool tokens held by the beam."
]
},
{
"name": "vaultAuthority",
Expand Down Expand Up @@ -233,7 +236,12 @@ export type MarinadeLpBeam = {
{
"name": "transferMsolTo",
"isMut": true,
"isSigner": false
"isSigner": false,
"docs": [
"When withdrawing from the Marinade LP, the withdrawal is part SOL, part mSOL.",
"The SOL portion is transferred to the user (withdrawer) and the mSOL portion",
"is transferred to the msol_token_account owned by the marinade stake pool."
]
},
{
"name": "liqPoolSolLegPda",
Expand Down Expand Up @@ -437,7 +445,10 @@ export const IDL: MarinadeLpBeam = {
{
"name": "liqPoolVault",
"isMut": true,
"isSigner": false
"isSigner": false,
"docs": [
"The token account of the liquidity pool tokens held by the beam."
]
},
{
"name": "vaultAuthority",
Expand Down Expand Up @@ -647,7 +658,12 @@ export const IDL: MarinadeLpBeam = {
{
"name": "transferMsolTo",
"isMut": true,
"isSigner": false
"isSigner": false,
"docs": [
"When withdrawing from the Marinade LP, the withdrawal is part SOL, part mSOL.",
"The SOL portion is transferred to the user (withdrawer) and the mSOL portion",
"is transferred to the msol_token_account owned by the marinade stake pool."
]
},
{
"name": "liqPoolSolLegPda",
Expand Down

0 comments on commit ffe4fe1

Please sign in to comment.