-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keymanager APIs - get,post,delete graffiti (#13474)
* wip * adding set and delete graffiti * fixing mock * fixing mock linting and putting in scaffolds for unit tests * adding some tests * gaz * adding tests * updating missing unit test * fixing unit test * Update validator/rpc/handlers_keymanager.go Co-authored-by: Sammy Rosso <[email protected]> * Update validator/client/propose.go Co-authored-by: Radosław Kapka <[email protected]> * Update validator/rpc/handlers_keymanager.go Co-authored-by: Radosław Kapka <[email protected]> * Update validator/client/propose.go Co-authored-by: Radosław Kapka <[email protected]> * radek's feedback * fixing tests * using wrapper for graffiti * fixing linting * wip * fixing setting proposer settings * more partial fixes to tests * gaz * fixing tests and setting logic * changing keymanager * fixing tests and making graffiti optional in the proposer file * remove unneeded lines * reverting unintended changes * Update validator/client/propose.go Co-authored-by: Manu NALEPA <[email protected]> * addressing feedback * removing uneeded line * fixing bad merge resolution * gofmt * gaz --------- Co-authored-by: Sammy Rosso <[email protected]> Co-authored-by: Radosław Kapka <[email protected]> Co-authored-by: Manu NALEPA <[email protected]>
- Loading branch information
1 parent
fda4589
commit 7f931bf
Showing
19 changed files
with
666 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
config/proposer/loader/testdata/good-graffiti-settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"proposer_config": { | ||
"0xa057816155ad77931185101128655c0191bd0214c201ca48ed887f6c4c6adf334070efcd75140eada5ac83a92506dd7a": { | ||
"fee_recipient": "0x50155530FCE8a85ec7055A5F8b2bE214B3DaeFd3", | ||
"graffiti": "some graffiti", | ||
"builder": { | ||
"enabled": true, | ||
"gas_limit": "30000000" | ||
} | ||
} | ||
}, | ||
"default_config": { | ||
"fee_recipient": "0x6e35733c5af9B61374A128e6F85f553aF09ff89A", | ||
"builder": { | ||
"enabled": true, | ||
"gas_limit": 40000000 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.