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

chore: moved from uint64 to uint256 #157

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

Mikelle
Copy link
Member

@Mikelle Mikelle commented Jun 17, 2024

@Mikelle Mikelle self-assigned this Jun 17, 2024
@Mikelle Mikelle force-pushed the feat/153/bid-uint64-to-uint256 branch from 4f9ebde to e257a1d Compare June 17, 2024 21:32
@Mikelle Mikelle linked an issue Jun 17, 2024 that may be closed by this pull request
@Mikelle Mikelle force-pushed the feat/153/bid-uint64-to-uint256 branch from e257a1d to d87c868 Compare June 19, 2024 12:19
@Mikelle Mikelle marked this pull request as ready for review June 19, 2024 13:40
@Mikelle Mikelle requested review from ckartik and shaspitz June 19, 2024 13:40
@@ -285,7 +287,7 @@ func TestUpdater(t *testing.T) {
if !bytes.Equal(settlement.builder, c.Commiter.Bytes()) {
t.Fatal("wrong builder")
}
if settlement.amount != 0 {
if settlement.amount.Uint64() != 10 {
Copy link
Contributor

Choose a reason for hiding this comment

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

why are you getting the Uint64 value here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for the review! This is for the test. The initial value is 10, so it can be converted to uint64 here.

@Mikelle Mikelle merged commit e18751b into main Jun 19, 2024
6 of 10 checks passed
@Mikelle Mikelle deleted the feat/153/bid-uint64-to-uint256 branch June 19, 2024 15:33
mrekucci pushed a commit that referenced this pull request Jun 21, 2024
* chore: moved from uint64 to uint256

* chore: fixed tests for the oracle
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.

Change from uint64 to uint256 for the bid amount
2 participants