-
Notifications
You must be signed in to change notification settings - Fork 217
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
Expose max collateral input count (protocol parameter) #2818
Expose max collateral input count (protocol parameter) #2818
Conversation
9344b73
to
4e4fd4c
Compare
e7fe03e
to
54083fd
Compare
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far. I've made some suggestions regarding the names of things. (See comments.)
tryBuild failed: |
a9a2c95
to
eba0790
Compare
bors try |
c3acfbc
to
b972719
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
I only have one very small suggestion. (See comment!)
3ab2d79
to
933f2eb
Compare
bors r+ |
2818: Expose max collateral input count (protocol parameter) r=sevanspowell a=sevanspowell ### Overview Expose the maximum number of collateral inputs in the wallet API. - Add `maximumCollateralInputCount` field to `ApiNetworkParameters` type. - Add `maximum_collateral_input_count` field to API. - Modify Scenario/API/Shelley/Network integration test to test it can retrieve `maxCollateralInputs` from the `alonzo-genesis.yaml`. ### Issue Number ADP-1061 Co-authored-by: Samuel Evans-Powell <[email protected]>
Build failed:
#expected |
- Add "maximumCollateralInputs" field to `ApiNetworkParameters` type. - Add "maximum_collateral_inputs" field to API. - Modify Scenario/API/Shelley/Network integration test to test it can retrieve `maxCollateralInputs` from the `alonzo-genesis.yaml`. - Make maximumCollateralInputCount expected value depend on era, otherwise integration tests only work in Alonzo era, as the maximum collateral input count value was only introduced in the Alonzo era. Co-authored-by: Jonathan Knowles <[email protected]>
933f2eb
to
91f8f06
Compare
bors r+ |
2818: Expose max collateral input count (protocol parameter) r=sevanspowell a=sevanspowell ### Overview Expose the maximum number of collateral inputs in the wallet API. - Add `maximumCollateralInputCount` field to `ApiNetworkParameters` type. - Add `maximum_collateral_input_count` field to API. - Modify Scenario/API/Shelley/Network integration test to test it can retrieve `maxCollateralInputs` from the `alonzo-genesis.yaml`. ### Issue Number ADP-1061 Co-authored-by: Samuel Evans-Powell <[email protected]>
This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried. |
2818: Expose max collateral input count (protocol parameter) r=sevanspowell a=sevanspowell ### Overview Expose the maximum number of collateral inputs in the wallet API. - Add `maximumCollateralInputCount` field to `ApiNetworkParameters` type. - Add `maximum_collateral_input_count` field to API. - Modify Scenario/API/Shelley/Network integration test to test it can retrieve `maxCollateralInputs` from the `alonzo-genesis.yaml`. ### Issue Number ADP-1061 Co-authored-by: Samuel Evans-Powell <[email protected]>
Build failed:
Integration tests passed, but then the above happened 🤨 |
bors retry |
2818: Expose max collateral input count (protocol parameter) r=sevanspowell a=sevanspowell ### Overview Expose the maximum number of collateral inputs in the wallet API. - Add `maximumCollateralInputCount` field to `ApiNetworkParameters` type. - Add `maximum_collateral_input_count` field to API. - Modify Scenario/API/Shelley/Network integration test to test it can retrieve `maxCollateralInputs` from the `alonzo-genesis.yaml`. ### Issue Number ADP-1061 Co-authored-by: Samuel Evans-Powell <[email protected]>
Build failed:
|
bors retry |
Build succeeded: |
Thanks bors 😅 |
tryMerge conflict. |
Overview
Expose the maximum number of collateral inputs in the wallet API.
maximumCollateralInputCount
field toApiNetworkParameters
type.maximum_collateral_input_count
field to API.maxCollateralInputs
from thealonzo-genesis.yaml
.Issue Number
ADP-1061