Skip to content

feat(node): address review comments against #1130#1147

Merged
raulk merged 3 commits intocollateral-sourcingfrom
raulk/review-collateral-source
Sep 25, 2024
Merged

feat(node): address review comments against #1130#1147
raulk merged 3 commits intocollateral-sourcingfrom
raulk/review-collateral-source

Conversation

@raulk
Copy link
Copy Markdown
Contributor

@raulk raulk commented Sep 24, 2024

See changelog.

IGateway(gateway).addStake(amount);
}
uint256 msgValue = s.collateralSource.makeAvailable(gateway, amount);
IGateway(gateway).addStake{value: amount}(amount);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is not correct, it should be:

IGateway(gateway).addStake{value: msgValue}(amount);

Pushed a PR to this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted! Copy pasta

@cryptoAtwill cryptoAtwill changed the title address review comments against #1130 feat(node): address review comments against #1130 Sep 25, 2024
@raulk raulk merged commit ea5e69a into collateral-sourcing Sep 25, 2024
@raulk raulk deleted the raulk/review-collateral-source branch September 25, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants