-
Notifications
You must be signed in to change notification settings - Fork 32
(feat)!: upgrade to geth 1.13 #181
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
Conversation
* feat(x/erc20): add allowance state * test(x/erc20): add unit test for Allowance * fix(x/erc20): add deleteAllowances method and modify genesis validation * fix(x/erc20): validation of SetAllowance/GetAllowance and InitGenesis * test(x/erc20) add test cases for UnsafeSetAllowance * chore: fix lint
fix owner == sender case
…le-State-Writes fix: apply patch ISA-2025-004: Partial Precompile State Writes
feat: implement eth_getBlockReceipts endpoint
Expect(s.network.NextBlock()).To(BeNil()) | ||
|
||
balRes, err := s.grpcHandler.GetBalanceFromBank(s.keyring.GetAccAddr(0), s.bondDenom) | ||
Expect(err).To(BeNil()) | ||
finalBalance := balRes.Balance | ||
fees := math.NewIntFromUint64(txRes.GasUsed).Mul(math.NewIntFromBigInt(txArgs.GasPrice)) | ||
Expect(finalBalance.Amount.Equal(initialBalance.Amount.Sub(fees))).To(BeTrue(), "expected final balance must be initial balance minus any gas spent") | ||
expectedGasCost := math.NewInt(79_416_000_000_000) |
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.
Gas increased from 79_415_000_000_000 to 79_416_000_000_000. My theory is it's a small opcode gas diff with the new geth, but not 100% sure
if stateObject == nil { | ||
return | ||
} | ||
s.SelfDestruct(addr) |
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.
This is not equivalent to upstream. The SelfDestruct6780
call should only run on contracts which were created in the same txn.
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.
I think we'll need CreateContract
added in here--we should track that against 1.15 upgrade and leave as is.
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.
Added this thread in the todos
forks #116