Skip to content
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

Fix ContractRenewalCollateral #135

Closed
wants to merge 1 commit into from
Closed

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Dec 7, 2023

I noticed renewal failures in our logs that indicate we're not properly respecting the host's MaxCollateral setting.

{"level":"error","date":"2023-12-07T16:56:27Z","component":"autopilot.contractor","msg":"renewal failed, err: couldn't renew contract: RPCRenew: failed to read RPCRenewContractHostAdditions: ReadResponse: failed to validate renewal: collateral exceeds maximum: expected at most 10000000000000000000000000000 got 10000047475326975980269993984\n","hk":"ed25519:c4b451fa7ab7085763119aeb1aa34db524c5dc6416dc77c5ba82100eb9687790","fcid":"fcid:5a32d8bbfb7e6a29f874ad2ded500d46e3e9aa4675db624b7f782b7fd7f45e05"}

rhp/v2/contracts.go Show resolved Hide resolved
rhp/v2/contracts.go Show resolved Hide resolved
@peterjan
Copy link
Member Author

peterjan commented Dec 8, 2023

closing this out for now - still an issue but not with ContractRenewalCollateral

@peterjan peterjan closed this Dec 8, 2023
@peterjan peterjan deleted the pj/renewal-collateral branch January 30, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants