This is a backport of core#20012 [2/3]
https://github.com/bitcoin/bitcoin/pull/20012/commits/fa92912b4bb4629addcbfdfb7cc000be701614af
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC25e918ce936c: rpc: Use RPCHelpMan for check-rpc-mappings linter
Update linters:
sudo arc liberate
Add errors in RPCHelpMan and make sure they are detected:
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 8bb08769ec..770e8272e9 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -170,6 +170,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { {"buildavalancheproof", 0, "sequence"}, {"buildavalancheproof", 1, "expiration"}, {"buildavalancheproof", 3, "stakes"}, + {"buildavalancheproof", 4, "staks"}, }; class CRPCConvertTable {
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 8bb08769ec..f883869060 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -168,7 +168,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { // Avalanche {"addavalanchenode", 0, "nodeid"}, {"buildavalancheproof", 0, "sequence"}, - {"buildavalancheproof", 1, "expiration"}, + {"buildavalancheproof", 8, "expiration"}, {"buildavalancheproof", 3, "stakes"}, };
ninja && test/functional/test_runner.py rpc_help
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable