-
Notifications
You must be signed in to change notification settings - Fork 18
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
Mx 14120 esdt supply updates #384
Conversation
process/esdtSupplyProcessor.go
Outdated
@@ -95,6 +103,9 @@ func addToSupply(dstSupply, sourceSupply *data.ESDTSupply) { | |||
dstSupply.Supply = sumStr(dstSupply.Supply, sourceSupply.Supply) | |||
dstSupply.Burned = sumStr(dstSupply.Burned, sourceSupply.Burned) | |||
dstSupply.Minted = sumStr(dstSupply.Minted, sourceSupply.Minted) | |||
if sourceSupply.RecomputedSupply { |
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.
because of this, we will have a wrong value if one observer returns another value for this field as the others. In this case, I strongly suggest returning an error.
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.
fixed
@@ -12,10 +12,10 @@ jobs: | |||
name: Build | |||
runs-on: ubuntu-latest | |||
steps: | |||
- name: Set up Go 1.x | |||
- name: Set up Go 1.17.6 | |||
uses: actions/setup-go@v2 |
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.
uses: actions/setup-go@v2 | |
uses: actions/setup-go@v3 |
on all occurences
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.
done
de1e768
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.
System test passed
update esdt supplies endpoint - treat the case when the supply of a token is recomputed