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

Implement dynamic fee builder #3232

Merged
merged 383 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
383 commits
Select commit Hold shift + click to select a range
7bcd8f7
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 Apr 26, 2024
a104358
nit
abi87 Apr 26, 2024
cbc99ee
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 Apr 29, 2024
2b4cdbc
nits
abi87 Apr 29, 2024
54d05d7
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 2, 2024
09cfe24
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 6, 2024
eb98d60
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 7, 2024
62fc922
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 9, 2024
bf2d5e9
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 10, 2024
db597d3
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 13, 2024
6bc5f25
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 13, 2024
66ef59c
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 14, 2024
1747485
repackaged upgrades times into upgrade package
abi87 May 14, 2024
c1d8df8
Merge branch 'p-chain_repack_config' into p-chain_introducing-fees-ca…
abi87 May 14, 2024
8cbc4e2
simplified fee unit test setup
abi87 May 14, 2024
8a268b0
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 14, 2024
8852376
nits
abi87 May 14, 2024
10176c9
nit
abi87 May 15, 2024
530084e
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 16, 2024
c815178
nit
abi87 May 16, 2024
3fd10bc
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 20, 2024
eee5aba
drop duplicated fields
abi87 May 20, 2024
be373e2
replaced genesis.TxFeeConfig with fee.StaticConfig
abi87 May 20, 2024
34631c6
moved FeeCalculator instatiation to block level
abi87 May 20, 2024
32e26d5
feeding chainTime to fee Calculator to ctor
abi87 May 20, 2024
e2f8809
nit
abi87 May 21, 2024
0fe0367
Merge branch 'master' into p-chain_introducing-fees-calculators
abi87 May 21, 2024
1956713
Merge branch 'p-chain_introducing-fees-calculators' into p-chain_bloc…
abi87 May 21, 2024
2e4cbf6
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 May 21, 2024
708bb36
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 May 21, 2024
c402171
nit
abi87 May 21, 2024
59165aa
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 May 29, 2024
ecb9090
nits
abi87 May 29, 2024
09baf61
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 3, 2024
eb023ee
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 7, 2024
7594ec7
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 7, 2024
2e4ccad
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 10, 2024
b549906
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 10, 2024
11a4ef8
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 17, 2024
34aa429
Merge branch 'master' into p-chain_block_level_fee_calculator
abi87 Jun 24, 2024
ac5b00c
restructured p-chain calculator
abi87 Jun 24, 2024
e88298c
restructured fee calculator API
abi87 Jun 24, 2024
13017be
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jun 24, 2024
1c68b9a
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jun 24, 2024
da722bc
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jun 24, 2024
71bf522
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jun 27, 2024
9a9beff
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jun 27, 2024
e65b33c
consolidated fee Calculator creation
abi87 Jun 27, 2024
dc138ad
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jun 28, 2024
25e931a
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jun 28, 2024
cecf0fd
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 1, 2024
dd2b382
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 1, 2024
e5f0fd3
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 1, 2024
2a6bdeb
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 3, 2024
fc95471
nits
abi87 Jul 3, 2024
99c930e
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 3, 2024
9937663
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 4, 2024
b18ef30
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 4, 2024
2aab1a4
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 5, 2024
a74536e
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 5, 2024
4c764d4
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 9, 2024
89d9726
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 10, 2024
4d6f679
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 12, 2024
ccb5943
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 12, 2024
493305e
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 13, 2024
999a468
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 13, 2024
db0cdfd
Merge branch 'master' into p-chain_improved_fee_calculator_structure
abi87 Jul 15, 2024
f6c3a49
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 15, 2024
270ab49
introduced dynamic fee calculator
abi87 Jul 15, 2024
b96c572
nit
abi87 Jul 15, 2024
0a2715f
reduce diff
StephenButtolph Jul 15, 2024
1fc03ef
Merge branch 'p-chain_improved_fee_calculator_structure' into p-chain…
abi87 Jul 15, 2024
6b9a309
merged
StephenButtolph Jul 15, 2024
d06a87f
Merge branch 'p-chain_block_level_fee_calculator' of github.com:ava-l…
StephenButtolph Jul 15, 2024
1a1dcc2
merged
StephenButtolph Jul 15, 2024
2951eac
Merge branch 'p-chain_block_level_fee_calculator' into p-chain_update…
abi87 Jul 15, 2024
46442c9
nits
StephenButtolph Jul 15, 2024
d288bb5
nit
StephenButtolph Jul 15, 2024
885bea0
nit
StephenButtolph Jul 15, 2024
0941ecb
nit
StephenButtolph Jul 15, 2024
9383dad
Merge branch 'p-chain_block_level_fee_calculator' into p-chain_update…
abi87 Jul 15, 2024
0c54bab
Merge branch 'master' into p-chain_update_fee_calculator
abi87 Jul 15, 2024
e43d4ff
Merge branch 'master' into p-chain_update_fee_calculator
abi87 Jul 15, 2024
c7f7600
wip
StephenButtolph Jul 17, 2024
a7a9629
wip
StephenButtolph Jul 17, 2024
1ac003e
wip
StephenButtolph Jul 17, 2024
5509e9c
Implement ACP-103 fee calculations
StephenButtolph Jul 18, 2024
afceeb9
Merge branch 'master' into implement-acp-103
StephenButtolph Jul 18, 2024
eb9ff58
reduce diff
StephenButtolph Jul 18, 2024
66af837
tidy
StephenButtolph Jul 18, 2024
7a8f883
nit
StephenButtolph Jul 18, 2024
b37440f
lint
StephenButtolph Jul 18, 2024
9914a19
fix nolint
StephenButtolph Jul 18, 2024
c8b2895
nit
StephenButtolph Jul 18, 2024
113c28c
nit
StephenButtolph Jul 18, 2024
0f5826e
Merge branch 'master' into implement-acp-103
StephenButtolph Jul 18, 2024
7dab6c8
wip
StephenButtolph Jul 18, 2024
4731518
nits
StephenButtolph Jul 18, 2024
ba62a70
Merge branch 'implement-acp-103' into implement-acp-103-tx-metering
StephenButtolph Jul 18, 2024
666b7a7
wip
StephenButtolph Jul 19, 2024
0e1b551
Make math.Add64 and math.Mul64 generic
StephenButtolph Jul 19, 2024
2246a5c
cleanup
StephenButtolph Jul 19, 2024
b43fa12
nits
StephenButtolph Jul 19, 2024
d3e1ad6
Merge branch 'generic-add-mul' into implement-acp-103
StephenButtolph Jul 19, 2024
67dabb6
merged
StephenButtolph Jul 19, 2024
4f2ac8a
fix comment
StephenButtolph Jul 19, 2024
4645f81
Merge branch 'generic-add-mul' into implement-acp-103
StephenButtolph Jul 19, 2024
7aa4645
nits
StephenButtolph Jul 19, 2024
4c97f49
Merge branch 'master' into implement-acp-103
StephenButtolph Jul 19, 2024
fbf10ec
Merge branch 'implement-acp-103' into implement-acp-103-tx-metering
StephenButtolph Jul 19, 2024
76ccfc4
wip
StephenButtolph Jul 19, 2024
446a210
wip
StephenButtolph Jul 19, 2024
70331a5
nits
StephenButtolph Jul 19, 2024
2798062
merged
StephenButtolph Jul 19, 2024
f3a6638
revert diff
StephenButtolph Jul 19, 2024
38f4350
revert diff
StephenButtolph Jul 19, 2024
6c3c96e
reduce diff
StephenButtolph Jul 19, 2024
5d8da76
export helpers
StephenButtolph Jul 21, 2024
e67fe3e
add todos
StephenButtolph Jul 21, 2024
2b00d3f
nit
StephenButtolph Jul 21, 2024
9cfa4c9
Fees are calculated over unsigned txs
StephenButtolph Jul 21, 2024
f98b2b8
Merge branch 'fees-for-unsigned-txs' into implement-acp-103-fee-calcu…
StephenButtolph Jul 21, 2024
7acdafb
wip
StephenButtolph Jul 21, 2024
c29bd02
nit
StephenButtolph Jul 21, 2024
4c48668
Merge branch 'fees-for-unsigned-txs' into implement-acp-103-fee-calcu…
StephenButtolph Jul 21, 2024
060e3c4
implement dynamic fee calculator
StephenButtolph Jul 21, 2024
f4808cd
nits
StephenButtolph Jul 21, 2024
afc1356
wip
StephenButtolph Jul 22, 2024
5bd8234
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Jul 22, 2024
79c3afd
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 22, 2024
67e3e90
nit
StephenButtolph Jul 22, 2024
74dff17
nit
StephenButtolph Jul 23, 2024
1de9b2b
wip
StephenButtolph Jul 23, 2024
59304d1
wip
StephenButtolph Jul 24, 2024
8e00705
Cleanup wallet tests
StephenButtolph Jul 24, 2024
d99f696
nit
StephenButtolph Jul 24, 2024
31ad85f
Merge unlocked stake outputs
StephenButtolph Jul 24, 2024
721507c
nit
StephenButtolph Jul 24, 2024
43f3087
fail faster
StephenButtolph Jul 24, 2024
dc02cef
nit
StephenButtolph Jul 24, 2024
3aec5fd
nit
StephenButtolph Jul 24, 2024
17c3caf
reduce diff
StephenButtolph Jul 24, 2024
48c7043
merged
StephenButtolph Jul 24, 2024
f405fef
cleanup
StephenButtolph Jul 24, 2024
063a2b3
Merge branch 'master' into implement-acp-103-tx-builder
StephenButtolph Jul 24, 2024
2df6f7e
wip
StephenButtolph Jul 24, 2024
17d2663
introduce dynamic fee tx building
StephenButtolph Jul 24, 2024
fce88e5
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Jul 24, 2024
d6b1a55
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 24, 2024
eacb2de
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 24, 2024
f677d1d
nits
StephenButtolph Jul 24, 2024
ed40add
reduce diff
StephenButtolph Jul 24, 2024
dbe3cf4
typo
StephenButtolph Jul 24, 2024
1fcfec5
reduce size of monster method
StephenButtolph Jul 25, 2024
6fcf1c1
passing CI
StephenButtolph Jul 25, 2024
3b7cc62
nit
StephenButtolph Jul 25, 2024
663bb0b
rename memoComplexity
StephenButtolph Jul 25, 2024
560f38c
simplify
StephenButtolph Jul 25, 2024
ea7fe10
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 25, 2024
28f66e5
update
StephenButtolph Jul 25, 2024
8e35d4f
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Jul 26, 2024
4cf3830
merged
StephenButtolph Jul 26, 2024
804c577
Add benchmark
StephenButtolph Jul 26, 2024
7111713
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Jul 26, 2024
865c9bd
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 26, 2024
42c85bc
merged
StephenButtolph Jul 26, 2024
06b802d
nit
StephenButtolph Jul 26, 2024
18e08bc
Fix importTx output owner
StephenButtolph Jul 26, 2024
c3c997c
add test
StephenButtolph Jul 27, 2024
45eb21e
wip
StephenButtolph Jul 27, 2024
c6162f6
Simplify static fee calculator
StephenButtolph Jul 27, 2024
d09b77d
reduce diff
StephenButtolph Jul 27, 2024
23d8bbf
reduce diff
StephenButtolph Jul 27, 2024
726b639
populate field
StephenButtolph Jul 27, 2024
ce017a9
nit
StephenButtolph Jul 27, 2024
d8228df
nit
StephenButtolph Jul 27, 2024
7f233b8
Merge branch 'simplify-static-fee-calculations' into implement-acp-10…
StephenButtolph Jul 28, 2024
38c52d6
merged
StephenButtolph Jul 28, 2024
3ae2bd2
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 28, 2024
fe2ba6c
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 28, 2024
92e9953
add tests
StephenButtolph Jul 28, 2024
96fca08
nit
StephenButtolph Jul 28, 2024
baf5a63
merged
StephenButtolph Jul 28, 2024
ba2c8e1
cleanup
StephenButtolph Jul 29, 2024
dc9d709
Merge branch 'simplify-static-fee-calculations' into implement-acp-10…
StephenButtolph Jul 29, 2024
f8deeed
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 29, 2024
589ec6f
Merge branch 'master' into simplify-static-fee-calculations
StephenButtolph Jul 29, 2024
554a02d
Merge branch 'simplify-static-fee-calculations' into implement-acp-10…
StephenButtolph Jul 29, 2024
11e8edc
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 29, 2024
2e930b7
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 29, 2024
e7600d6
merged
StephenButtolph Jul 29, 2024
8b268bc
Merge branch 'simplify-static-fee-calculations' into implement-acp-10…
StephenButtolph Jul 29, 2024
0a826cd
nit
StephenButtolph Jul 29, 2024
1b28ea0
Merge branch 'simplify-static-fee-calculations' into implement-acp-10…
StephenButtolph Jul 29, 2024
8503e74
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 29, 2024
6d64db8
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 29, 2024
bb51cdf
merged
StephenButtolph Jul 30, 2024
00e20a2
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 30, 2024
4a373c8
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Jul 30, 2024
950ec25
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 30, 2024
1d4aec4
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 30, 2024
d9ea321
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Jul 31, 2024
92294b4
Merge branch 'implement-acp-103-tx-metering' into implement-acp-103-f…
StephenButtolph Jul 31, 2024
acc8bd9
Merge branch 'implement-acp-103-fee-calculator' into implement-acp-10…
StephenButtolph Jul 31, 2024
62d8d61
Address comments
StephenButtolph Aug 5, 2024
a47594a
nit
StephenButtolph Aug 5, 2024
e8fb7cb
Merge branch 'master' into implement-acp-103-tx-metering
StephenButtolph Aug 5, 2024
42aa113
add comment
StephenButtolph Aug 5, 2024
5256137
Merge branch 'implement-acp-103-tx-metering' of github.com:ava-labs/a…
StephenButtolph Aug 5, 2024
53ec75b
merged
StephenButtolph Aug 5, 2024
48e6c5c
merged
StephenButtolph Aug 5, 2024
11b5951
reduce diff
StephenButtolph Aug 5, 2024
f294146
merged
StephenButtolph Aug 5, 2024
265d67c
Merge branch 'master' into implement-acp-103-tx-builder
StephenButtolph Aug 5, 2024
2330312
nit
StephenButtolph Aug 7, 2024
80eb699
nit
StephenButtolph Aug 7, 2024
f6b031e
Refactor tx builder
StephenButtolph Aug 8, 2024
e7cd254
reduce diff
StephenButtolph Aug 8, 2024
9b42040
nit
StephenButtolph Aug 8, 2024
29230df
Add tests for unwrapOutput
StephenButtolph Aug 8, 2024
dd08fdf
Add more tests
StephenButtolph Aug 8, 2024
682611a
nit
StephenButtolph Aug 8, 2024
ec5632b
merged
StephenButtolph Aug 8, 2024
8fe8178
nit
StephenButtolph Aug 8, 2024
b2c98f2
merged
StephenButtolph Aug 8, 2024
a2ccc3b
address comments
StephenButtolph Aug 9, 2024
f1c1817
address comments
StephenButtolph Aug 9, 2024
0ced0af
merged
StephenButtolph Aug 9, 2024
5c74aff
nit
StephenButtolph Aug 9, 2024
423495c
nit
StephenButtolph Aug 9, 2024
ac31812
nit
StephenButtolph Aug 9, 2024
1bfb7a1
Merge branch 'refactor-tx-builder' into implement-acp-103-tx-builder
StephenButtolph Aug 9, 2024
ef70b0f
merged
StephenButtolph Aug 12, 2024
f7b9383
fix merge
StephenButtolph Aug 12, 2024
71a7fb3
reduce duplicate code
StephenButtolph Aug 12, 2024
f381311
reduce duplicate code
StephenButtolph Aug 13, 2024
3781f5a
Add more tests
StephenButtolph Aug 13, 2024
34ed62c
cleanup comments
StephenButtolph Aug 13, 2024
d958ea8
cleanup fee checking
StephenButtolph Aug 13, 2024
8a94769
ok
StephenButtolph Aug 13, 2024
97f2ebf
Merge branch 'master' into implement-acp-103-tx-builder
StephenButtolph Aug 13, 2024
6e7f846
Add memo tests
StephenButtolph Aug 13, 2024
b705fcf
Merge branch 'implement-acp-103-tx-builder' of github.com:ava-labs/av…
StephenButtolph Aug 13, 2024
ec48077
fix equal order
StephenButtolph Aug 13, 2024
15ccf67
nit
StephenButtolph Aug 13, 2024
d1e4936
improve error message
StephenButtolph Aug 13, 2024
a97a960
nit
StephenButtolph Aug 13, 2024
30d33ad
nit
StephenButtolph Aug 13, 2024
e94c72c
nit
StephenButtolph Aug 13, 2024
5494b67
nit
StephenButtolph Aug 13, 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
Loading
Loading