-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
NewFallback TC bug #22049
Labels
Comments
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 7, 2025
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 8, 2025
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 9, 2025
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 10, 2025
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 10, 2025
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 10, 2025
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 10, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 14, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 16, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 17, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 22, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 22, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 23, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this issue
Jan 24, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Geth version:
v1.9.21
OS & Version: OSX
Expected behaviour
Fallback
function ofNewFallbacks
solidity code fails due to out-of-gas.Actual behaviour
Steps to reproduce the behaviour
tc location:
accounts/abi/bind/bind_test.go
tc:
NewFallback
(line 1597 ~ line 1687)->
bool gotEvent
is set totrue
at point1, and it is not initialized. Then, fallback tx is failed, and event is not arrived.-> At point2, the gotEvent is true even fallback tx is failed. So, it cannot catch the error.
-> If
gotEvent = false
code is inserted just before point3, it would catch an error.-> Also, it would be nice if solidity code is fixed.
calldatacopy(data, 0, calldatasize())
is not working. For me, below fallback function passes the NewFallback tc.Backtrace
The text was updated successfully, but these errors were encountered: