Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
erwin-wee committed Jul 30, 2024
1 parent 99b34ad commit e9c660a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions chainbench/profile/solana/get_program_accounts_shark.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from locust import task

from chainbench.user.protocol.solana import SolanaUser
from chainbench.user.http import RpcCall
from chainbench.user.protocol.solana import SolanaUser


class GetProgramAccounts(SolanaUser):
Expand All @@ -12,8 +12,8 @@ def get_program_accounts_shark_task(self) -> None:
method="getProgramAccounts",
params=[
"SharkXwkS3h24fJ2LZvgG5tPbsH3BKQYuAtKdqskf1f",
{"encoding": "base64", "commitment": "confirmed"}
{"encoding": "base64", "commitment": "confirmed"},
],
),
name="getProgramAccounts_shark"
name="getProgramAccounts_shark",
)
7 changes: 4 additions & 3 deletions chainbench/profile/solana/get_program_accounts_stake.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from locust import task

from chainbench.user.protocol.solana import SolanaUser
from chainbench.user.http import RpcCall
from chainbench.user.protocol.solana import SolanaUser


class GetProgramAccounts(SolanaUser):
Expand All @@ -16,9 +16,10 @@ def get_program_accounts_stake_task(self) -> None:
"encoding": "jsonParsed",
"commitment": "finalized",
"filters": [
{"memcmp": {"bytes": "2K9XJAj3VtojUhyKdXVfGnueSvnyFNfSACkn1CwgBees", "offset": 12}}],
{"memcmp": {"bytes": "2K9XJAj3VtojUhyKdXVfGnueSvnyFNfSACkn1CwgBees", "offset": 12}}
],
},
],
),
name="getProgramAccounts_stake"
name="getProgramAccounts_stake",
)

0 comments on commit e9c660a

Please sign in to comment.