Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
230a413
hook creation in crypto create
Neeharika-Sompalli Sep 5, 2025
7516bd0
add hook creation in CryptoCreateHandler
Neeharika-Sompalli Sep 5, 2025
8aa8a4a
add hook creation in CryptoUpdateHandler
Neeharika-Sompalli Sep 6, 2025
989e779
typo
Neeharika-Sompalli Sep 8, 2025
806ad76
typo
Neeharika-Sompalli Sep 8, 2025
f9982bb
wip
Neeharika-Sompalli Sep 12, 2025
80c11d9
wip
Neeharika-Sompalli Sep 12, 2025
d86cc41
wip
Neeharika-Sompalli Sep 12, 2025
c463f7e
wip
Neeharika-Sompalli Sep 13, 2025
69a193f
add test
Neeharika-Sompalli Sep 13, 2025
f533eae
unit tests
Neeharika-Sompalli Sep 13, 2025
167e9ac
unit tests
Neeharika-Sompalli Sep 13, 2025
f420be4
e2e tests
Neeharika-Sompalli Sep 14, 2025
0fc7bd2
compile issues
Neeharika-Sompalli Sep 14, 2025
4999234
hooks fees
Neeharika-Sompalli Sep 14, 2025
071368e
fix issues
Neeharika-Sompalli Sep 14, 2025
64f6f01
fix module info
Neeharika-Sompalli Sep 15, 2025
3138a2b
refactor
Neeharika-Sompalli Sep 15, 2025
f7ac753
fix unit tests
Neeharika-Sompalli Sep 15, 2025
32caf20
fix review comments and add unit tests
Neeharika-Sompalli Sep 16, 2025
84c52d8
merge back hooks creation
Neeharika-Sompalli Sep 16, 2025
df3f0d5
crypto update fee
Neeharika-Sompalli Sep 16, 2025
cf75667
fix review comments
Neeharika-Sompalli Sep 16, 2025
3617095
fix review comments and module info
Neeharika-Sompalli Sep 16, 2025
e823ecb
crypto update fee
Neeharika-Sompalli Sep 16, 2025
828c821
fix review comments and duplicate code
Neeharika-Sompalli Sep 16, 2025
140da70
implement nextHookId in stream builder implementations
Neeharika-Sompalli Sep 17, 2025
dc9efe4
revert not needed changes
Neeharika-Sompalli Sep 17, 2025
27a686e
Remove pure EVM hook type
tinker-michaelj Sep 17, 2025
c38aaca
contract update fee
Neeharika-Sompalli Sep 17, 2025
7a5e6e5
sync back
Neeharika-Sompalli Sep 17, 2025
3d34e79
wip
Neeharika-Sompalli Sep 18, 2025
4c3e47a
sync main
Neeharika-Sompalli Sep 18, 2025
e3d7047
Merge branch '20962-hooks-creation' into hooks-fees
Neeharika-Sompalli Sep 18, 2025
b46438d
fix some issues
Neeharika-Sompalli Sep 18, 2025
8e45a7c
wip
Neeharika-Sompalli Sep 19, 2025
cdc0f7a
sync main
Neeharika-Sompalli Sep 19, 2025
3d1f6e4
module info
Neeharika-Sompalli Sep 21, 2025
f2a2c82
fix crypto transfer fees
Neeharika-Sompalli Sep 21, 2025
24e9b95
update feeSchedules
Neeharika-Sompalli Sep 21, 2025
ec5aae5
update feeSchedules
Neeharika-Sompalli Sep 21, 2025
79ef2ea
update feeSchedules
Neeharika-Sompalli Sep 21, 2025
bf94414
update
Neeharika-Sompalli Sep 21, 2025
1940196
fix failing tests
Neeharika-Sompalli Sep 21, 2025
643dab1
fix failing tests
Neeharika-Sompalli Sep 21, 2025
585704f
fix failing tests
Neeharika-Sompalli Sep 21, 2025
794a589
fix failing tests
Neeharika-Sompalli Sep 21, 2025
b578b06
address review comments
Neeharika-Sompalli Sep 23, 2025
d9fb7c4
Merge branch 'main' into hooks-fees
Neeharika-Sompalli Sep 25, 2025
ff8577c
Merge branch 'main' into hooks-fees
Neeharika-Sompalli Sep 25, 2025
93883d2
sync main
Neeharika-Sompalli Oct 1, 2025
9483fda
Merge branch 'main' into hooks-fees
Neeharika-Sompalli Oct 3, 2025
0662b44
sync main
Neeharika-Sompalli Oct 3, 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
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,11 @@ enum SubType {
* for a topic with custom fees.
*/
SUBMIT_MESSAGE_WITH_CUSTOM_FEES = 7;

/**
* The resource cost for the transaction type that includes a CryptoTransfer with hook invocations
*/
CRYPTO_TRANSFER_WITH_HOOKS = 8;
}

/**
Expand Down
92 changes: 86 additions & 6 deletions hedera-node/configuration/mainnet/upgrade/feeSchedules.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"bpt": 10179648,
"vpt": 25449119198,
"rbh": 6786,
"sbh": 509,
"sbh": 10000000000000,
"gas": 67864,
"bpr": 10179648,
"sbpr": 254491,
Expand Down Expand Up @@ -220,7 +220,7 @@
"bpt": 521252,
"vpt": 1303130322,
"rbh": 348,
"sbh": 26,
"sbh": 10000000000000,
"gas": 3475,
"bpr": 521252,
"sbpr": 13031,
Expand Down Expand Up @@ -274,6 +274,45 @@
"max": 1000000000000000
}
},
{
"subType": "CRYPTO_TRANSFER_WITH_HOOKS",
"nodedata": {
"constant": 7574478,
"bpt": 12109,
"vpt": 30273301,
"rbh": 8,
"sbh": 1,
"gas": 81,
"bpr": 12109,
"sbpr": 303,
"min": 0,
"max": 1000000000000000
},
"networkdata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 12,
"gas": 1615,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
},
"servicedata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 500000000000,
"gas": 852000,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
}
},
{
"subType": "TOKEN_FUNGIBLE_COMMON",
"nodedata": {
Expand Down Expand Up @@ -2841,7 +2880,7 @@
"bpt": 0,
"vpt": 0,
"rbh": 0,
"sbh": 0,
"sbh": 10000000000000,
"gas": 852000,
"bpr": 0,
"sbpr": 0,
Expand Down Expand Up @@ -2889,6 +2928,7 @@
"rbh": 41575,
"sbh": 3118,
"gas": 415754,
"tv": 10000000000000,
"bpr": 62363050,
"sbpr": 1559076,
"min": 0,
Expand Down Expand Up @@ -3951,7 +3991,7 @@
"bpt": 10179648,
"vpt": 25449119198,
"rbh": 6786,
"sbh": 509,
"sbh": 10000000000000,
"gas": 67864,
"bpr": 10179648,
"sbpr": 254491,
Expand Down Expand Up @@ -4135,7 +4175,7 @@
"bpt": 521252,
"vpt": 1303130322,
"rbh": 348,
"sbh": 26,
"sbh": 10000000000000,
"gas": 3475,
"bpr": 521252,
"sbpr": 13031,
Expand Down Expand Up @@ -4189,6 +4229,45 @@
"max": 1000000000000000
}
},
{
"subType": "CRYPTO_TRANSFER_WITH_HOOKS",
"nodedata": {
"constant": 7574478,
"bpt": 12109,
"vpt": 30273301,
"rbh": 8,
"sbh": 1,
"gas": 81,
"bpr": 12109,
"sbpr": 303,
"min": 0,
"max": 1000000000000000
},
"networkdata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 12,
"gas": 1615,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
},
"servicedata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 500000000000,
"gas": 852000,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
}
},
{
"subType": "TOKEN_FUNGIBLE_COMMON",
"nodedata": {
Expand Down Expand Up @@ -6710,7 +6789,7 @@
"bpt": 0,
"vpt": 0,
"rbh": 0,
"sbh": 0,
"sbh": 10000000000000,
"gas": 852000,
"bpr": 0,
"sbpr": 0,
Expand Down Expand Up @@ -6758,6 +6837,7 @@
"rbh": 41575,
"sbh": 3118,
"gas": 415754,
"tv": 10000000000000,
"bpr": 62363050,
"sbpr": 1559076,
"min": 0,
Expand Down
92 changes: 86 additions & 6 deletions hedera-node/configuration/previewnet/upgrade/feeSchedules.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"bpt": 10179648,
"vpt": 25449119198,
"rbh": 6786,
"sbh": 509,
"sbh": 10000000000000,
"gas": 67864,
"bpr": 10179648,
"sbpr": 254491,
Expand Down Expand Up @@ -220,7 +220,7 @@
"bpt": 521252,
"vpt": 1303130322,
"rbh": 348,
"sbh": 26,
"sbh": 10000000000000,
"gas": 3475,
"bpr": 521252,
"sbpr": 13031,
Expand Down Expand Up @@ -320,6 +320,45 @@
"max": 1000000000000000
}
},
{
"subType": "CRYPTO_TRANSFER_WITH_HOOKS",
"nodedata": {
"constant": 7574478,
"bpt": 12109,
"vpt": 30273301,
"rbh": 8,
"sbh": 1,
"gas": 81,
"bpr": 12109,
"sbpr": 303,
"min": 0,
"max": 1000000000000000
},
"networkdata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 12,
"gas": 1615,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
},
"servicedata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 500000000000,
"gas": 852000,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
}
},
{
"subType": "TOKEN_FUNGIBLE_COMMON",
"nodedata": {
Expand Down Expand Up @@ -2795,7 +2834,7 @@
"bpt": 0,
"vpt": 0,
"rbh": 0,
"sbh": 0,
"sbh": 10000000000000,
"gas": 852000,
"bpr": 0,
"sbpr": 0,
Expand Down Expand Up @@ -2843,6 +2882,7 @@
"rbh": 41575,
"sbh": 3118,
"gas": 415754,
"tv": 10000000000000,
"bpr": 62363050,
"sbpr": 1559076,
"min": 0,
Expand Down Expand Up @@ -3905,7 +3945,7 @@
"bpt": 10179648,
"vpt": 25449119198,
"rbh": 6786,
"sbh": 509,
"sbh": 10000000000000,
"gas": 67864,
"bpr": 10179648,
"sbpr": 254491,
Expand Down Expand Up @@ -4089,7 +4129,7 @@
"bpt": 521252,
"vpt": 1303130322,
"rbh": 348,
"sbh": 26,
"sbh": 10000000000000,
"gas": 3475,
"bpr": 521252,
"sbpr": 13031,
Expand Down Expand Up @@ -4189,6 +4229,45 @@
"max": 1000000000000000
}
},
{
"subType": "CRYPTO_TRANSFER_WITH_HOOKS",
"nodedata": {
"constant": 7574478,
"bpt": 12109,
"vpt": 30273301,
"rbh": 8,
"sbh": 1,
"gas": 81,
"bpr": 12109,
"sbpr": 303,
"min": 0,
"max": 1000000000000000
},
"networkdata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 12,
"gas": 1615,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
},
"servicedata": {
"constant": 151489557,
"bpt": 242186,
"vpt": 605466012,
"rbh": 161,
"sbh": 500000000000,
"gas": 852000,
"bpr": 242186,
"sbpr": 6055,
"min": 0,
"max": 1000000000000000
}
},
{
"subType": "TOKEN_FUNGIBLE_COMMON",
"nodedata": {
Expand Down Expand Up @@ -6664,7 +6743,7 @@
"bpt": 0,
"vpt": 0,
"rbh": 0,
"sbh": 0,
"sbh": 10000000000000,
"gas": 852000,
"bpr": 0,
"sbpr": 0,
Expand Down Expand Up @@ -6712,6 +6791,7 @@
"rbh": 41575,
"sbh": 3118,
"gas": 415754,
"tv": 10000000000000,
"bpr": 62363050,
"sbpr": 1559076,
"min": 0,
Expand Down
Loading
Loading