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

feat: accurate gas calculation for Amplifier API reporting #18

Merged
merged 35 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e36a0a5
feat: add `construct proof` task
roberts-pumpurs Jan 17, 2025
52b4be0
chore: minor code style changes
roberts-pumpurs Jan 17, 2025
657e579
wip compute unit aggregation
roberts-pumpurs Jan 17, 2025
ea8e4d7
wip
roberts-pumpurs Jan 18, 2025
aee25b8
feat: implement the initial gas computation for "approved messages"
roberts-pumpurs Jan 18, 2025
8514c95
feat: add logic to compute costs of message payload compounding
roberts-pumpurs Jan 18, 2025
0a05781
feat: code compiles
roberts-pumpurs Jan 20, 2025
058e89f
test: fully approve a message on the solana gateway
roberts-pumpurs Jan 20, 2025
9c60001
test: can calculate accurate gas consumption
roberts-pumpurs Jan 20, 2025
0a83b40
test: refactor test helpers
roberts-pumpurs Jan 20, 2025
8245321
fix: total gas consumption accounts for signatures
roberts-pumpurs Jan 20, 2025
98177fe
test: add test case for "message executed" tx cost summing
roberts-pumpurs Jan 21, 2025
b642b90
docs: update docs
roberts-pumpurs Jan 21, 2025
9ed26cf
chore: cargo xtask fmt
roberts-pumpurs Jan 21, 2025
e587c75
test: use serial_test to fix solana-test-validator issues
roberts-pumpurs Jan 21, 2025
db51004
test: remove sleeps
roberts-pumpurs Jan 21, 2025
7e771bb
test: increase concurrency rate
roberts-pumpurs Jan 21, 2025
c8edf3e
test: add nextest.toml to limit concurrency
roberts-pumpurs Jan 21, 2025
a7d3b62
test: increase concurrency limit
roberts-pumpurs Jan 21, 2025
452159f
test: wip
roberts-pumpurs Jan 21, 2025
9ca4f5f
ci: move the test.yaml file around
roberts-pumpurs Jan 21, 2025
9aeeed6
ci: try large runner
roberts-pumpurs Jan 21, 2025
c8d8527
chore: cargo xtask check fixes
roberts-pumpurs Jan 21, 2025
efe4eee
ci: go back to self hosted runner
roberts-pumpurs Jan 21, 2025
475caa5
typos
roberts-pumpurs Jan 21, 2025
b793ae2
test: explicit panic
roberts-pumpurs Jan 21, 2025
f4d6c05
revert: b793ae2e
roberts-pumpurs Jan 22, 2025
3447fdc
chore: make test linter happy
roberts-pumpurs Jan 22, 2025
6f2ae2f
refactor: execute task will always close the message payload PDA
roberts-pumpurs Jan 22, 2025
c668576
feat: gateway task processor will accurately compute the consumed gas…
roberts-pumpurs Jan 22, 2025
7a1e7c0
Merge remote-tracking branch 'origin/main' into rob/accurate-gas-calc…
roberts-pumpurs Jan 22, 2025
107ed2c
test: add gateway task tests to the nextest rulegroup
roberts-pumpurs Jan 22, 2025
8003c17
chore: clippy fixes
roberts-pumpurs Jan 22, 2025
3abe2c7
chore: remove unused deps
roberts-pumpurs Jan 22, 2025
645d7ce
test: increate concurrent rpc request count
roberts-pumpurs Jan 22, 2025
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
15 changes: 13 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
[test-groups]
rest-service-same-port = { max-threads = 1 }
serial-8080-port = { max-threads = 1 }
serial-test-validator = { max-threads = 4 }

[[profile.default.overrides]]
filter = 'package(solana-listener)'
test-group = 'serial-test-validator'
threads-required = 4

[[profile.default.overrides]]
filter = 'package(solana-event-forwarder)'
test-group = 'serial-test-validator'
threads-required = 4

[[profile.default.overrides]]
filter = 'package(rest-service)'
test-group = 'rest-service-same-port'
test-group = 'serial-8080-port'
Loading
Loading