Replace direct calls of Params() with Config.GetChainParams() Refs T170
Details
- Reviewers
jasonbcox deadalnix schancel - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Maniphest Tasks
- T170: Replace direct calls of Params() with Config.GetChainParams()
- Commits
- rSTAGING5d31b1c35d94: Replaced calls to DecodeDestination(str) with DecodeDestination(str,config)…
rABC5d31b1c35d94: Replaced calls to DecodeDestination(str) with DecodeDestination(str,config)…
make check
./test/functional/test_runner.py --extended
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- T170-Params
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1813 Build 1819: Bitcoin ABC Buildbot (legacy) Build 1818: arc lint + arc unit
Event Timeline
@matra774 I think there is something in your setup that is screwing up the file permission. You are tagging all the files as executable.
Fixed permissions (also on files src/rpc/mining.cpp, rpc/rpc/misc.cpp, whose permissions was not modified by original commit)
I need some help here. As mentioned in last comment I also:
Fixed permissions (also on files src/rpc/mining.cpp, rpc/rpc/misc.cpp, whose permissions was not modified by original commit)
I've done this, because those two files had executable attributes set in my working copy The diff also reflects removal of executable flag (mode changes from 100755 to 100644).
Also, if I return to this revision in git:
osboxes@osboxes:~/bitcoin-abc$ git checkout T170-Params Switched to branch 'T170-Params' osboxes@osboxes:~/bitcoin-abc$ git rebase -i master Stopped at c2f17c21a... Replaced calls to DecodeDestination(str) with DecodeDestination(str,config) where config was already available in local scope You can amend the commit now, with git commit --amend Once you are satisfied with your changes, run git rebase --continue
I can see that those two files do not have executable flag set anymore
osboxes@osboxes:~/bitcoin-abc$ ls -lart src/rpc/mining.cpp src/rpc/mining.cpp -rw-r--r-- 1 osboxes osboxes 42581 Feb 13 04:05 src/rpc/mining.cpp -rw-r--r-- 1 osboxes osboxes 42581 Feb 13 04:05 src/rpc/mining.cpp
Isn't this how it is supposed to be (no executbale flags on cpp files). That is also true for all other files in this diff.
Please suggest, how to proceed.
The file mode permission change is because your base commit is different. It's not 100755 in master. It seems that you made a commit which includes execute bits, and then made this commit which does not.