Commit a879c42
internal/ethapi, accounts/abi/bind: cap highest gas limit by account balance for 1559 fee parameters (ethereum#23309)
* internal/ethapi/api: cap highest gas limit by account balance for 1559 fee parameters
* accounts/abi/bind: port gas limit cap for 1559 parameters to simulated backend
* accounts/abi/bind: add test for 1559 gas estimates for the simulated backend
* internal/ethapi/api: fix comment
* accounts/abi/bind/backends, internal/ethapi: unify naming style
Co-authored-by: Péter Szilágyi <[email protected]>1 parent 39fe7ec commit a879c42
File tree
3 files changed
+52
-7
lines changed- accounts/abi/bind/backends
- internal/ethapi
3 files changed
+52
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
491 | 502 | | |
492 | | - | |
| 503 | + | |
493 | 504 | | |
494 | 505 | | |
495 | 506 | | |
| |||
498 | 509 | | |
499 | 510 | | |
500 | 511 | | |
501 | | - | |
| 512 | + | |
502 | 513 | | |
503 | 514 | | |
504 | 515 | | |
505 | 516 | | |
506 | 517 | | |
507 | 518 | | |
508 | | - | |
| 519 | + | |
509 | 520 | | |
510 | 521 | | |
511 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
583 | 603 | | |
584 | 604 | | |
585 | 605 | | |
| |||
592 | 612 | | |
593 | 613 | | |
594 | 614 | | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
595 | 618 | | |
596 | 619 | | |
597 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1011 | 1022 | | |
1012 | | - | |
| 1023 | + | |
1013 | 1024 | | |
1014 | 1025 | | |
1015 | 1026 | | |
| |||
1022 | 1033 | | |
1023 | 1034 | | |
1024 | 1035 | | |
1025 | | - | |
| 1036 | + | |
1026 | 1037 | | |
1027 | 1038 | | |
1028 | 1039 | | |
| |||
1031 | 1042 | | |
1032 | 1043 | | |
1033 | 1044 | | |
1034 | | - | |
| 1045 | + | |
1035 | 1046 | | |
1036 | 1047 | | |
1037 | 1048 | | |
| |||
0 commit comments