-
Notifications
You must be signed in to change notification settings - Fork 100
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
harness: Update eth to work with geth 1.14 and up. #3123
base: master
Are you sure you want to change the base?
Conversation
401f927
to
bc85cd5
Compare
Does polygon need all the same changes? |
b5883f0
to
f8ce2cf
Compare
@@ -114,7 +114,7 @@ tmux send-keys -t $SESSION:0 "${DAEMON} -rpcuser=user -rpcpassword=pass \ | |||
-rpcport=${ALPHA_RPC_PORT} -datadir=${ALPHA_DIR} $(deprecateddbd $ALPHA_DESCRIPTOR_WALLET) \ | |||
-debug=rpc -debug=net -debug=mempool -debug=walletdb -debug=addrman -debug=mempoolrej \ | |||
-whitelist=127.0.0.0/8 -whitelist=::1 \ | |||
-txindex=1 -regtest=1 -port=${ALPHA_LISTEN_PORT} -fallbackfee=0.00001 \ |
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.
On Bitcoin core v28.0.0 for some reason this wasn't using the port anymore. Using bind seems to work...
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.
Just tried bitcoin core v22-1 and it accepts -bind=12345
but does not make a listening tcpip port.
2024-12-25T07:55:25Z Command-line arg: bind="12345"
2024-12-25T07:55:25Z Command-line arg: server="1"
netstat -tl <- no new port. i.e. it fails silently!
-port=12345
does make port:
tcp 0 0 0.0.0.0:12345 0.0.0.0:* LISTEN
tcp6 0 0 [::]:12345 [::]:* LISTEN
I was going to update the internal eth nodes, but its adding a toolchain to the go.mod and we didn't want that for some reason. I guess we will have to add it to update though? |
f8ce2cf
to
726f473
Compare
The harness just mines whenever there is a transaction, which is unfortunate, but the mining scrip needs to be updated to reflect this. Also some tests in /client/asset/eth are broken still. |
726f473
to
b983ef2
Compare
Fixing the mining script https://github.com/decred/dcrdex/compare/726f473c18811544c6624b9239ddb78b555fe86f..b983ef294ec3571e685b9751863fc5de947ab172 I also tried setting |
b983ef2
to
e9173f2
Compare
e9173f2
to
4f832eb
Compare
Fixing tests and apparently gas for token swaps is less now https://github.com/decred/dcrdex/compare/b983ef294ec3571e685b9751863fc5de947ab172..4f832ebf1086d67112a0cae15b7c3a55c65032ae Also, I had to update to 1.14.12 because |
closes #3122
Also no longer using the deprecated
personal
namespace