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

@helium/sus package to drill down on transaction simulation details #558

Merged
merged 27 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5c0811a
Finish sus package
ChewingGlass Jan 23, 2024
ee2c1c0
Merge branch 'develop' into feat/susser
ChewingGlass Feb 7, 2024
34a3b1b
Add warning about owner change, more warning info
ChewingGlass Feb 20, 2024
bd3d458
Add warnings to writable accounts
ChewingGlass Feb 20, 2024
f7a77aa
Fix
ChewingGlass Feb 21, 2024
33af8e2
Add program name
ChewingGlass Feb 21, 2024
fec3a00
Fix is burn hotspot
ChewingGlass Feb 21, 2024
44a2f44
Better warnings interface
ChewingGlass Feb 21, 2024
c5aeae2
Add missing types
ChewingGlass Feb 21, 2024
5cdb0f1
Fix post account type
ChewingGlass Feb 21, 2024
cf58696
Fix simulation failed
ChewingGlass Feb 21, 2024
2372fb6
Fix multiple token accounts warning
ChewingGlass Feb 21, 2024
9cd2011
Add warning for accounts that didn't change in simulation
ChewingGlass Feb 21, 2024
7c949a9
Filter assets by owner
ChewingGlass Feb 21, 2024
47a96f0
Add ability to filter merkle tree accounts
ChewingGlass Feb 21, 2024
7ef2e64
don't require blacklist
ChewingGlass Feb 21, 2024
d15cb42
Bug
ChewingGlass Feb 21, 2024
4fe522c
Fix tests, more efficient fetching
ChewingGlass Feb 22, 2024
f682032
Add check for sol owner changge
ChewingGlass Feb 22, 2024
60d8345
Fix token tx
ChewingGlass Feb 22, 2024
7545ae3
Add error handling for failed metadata
ChewingGlass Feb 22, 2024
a3dd2b0
Fix sus on new token accounts
ChewingGlass Feb 22, 2024
688e942
Don't flag unchanged accounts as critical
ChewingGlass Feb 22, 2024
0dc3162
Fix anchor account names on close
ChewingGlass Feb 22, 2024
f3311a5
Fix type names again
ChewingGlass Feb 22, 2024
c0ebbf7
Fix parsed value
ChewingGlass Feb 22, 2024
9252d3e
Add sus tests to CI
ChewingGlass Feb 22, 2024
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
8 changes: 4 additions & 4 deletions packages/account-postgres-sink-service/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ if (!HELIUS_AUTH_SECRET) {
)
.filter(
(_, index) =>
index < tx.transaction.message.header.numRequiredSignatures ||
index >
tx.transaction.message.header.numReadonlySignedAccounts +
tx.transaction.message.header.numRequiredSignatures
index <
tx.transaction.message.header.numRequiredSignatures -
tx.transaction.message.header.numReadonlySignedAccounts ||
index >= tx.transaction.message.header.numRequiredSignatures
bryzettler marked this conversation as resolved.
Show resolved Hide resolved
)
)
.map((k) => new PublicKey(k));
Expand Down
4 changes: 4 additions & 0 deletions packages/sus/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npm-debug.log
dist/
tmp/
./node_modules
Loading
Loading