-
Notifications
You must be signed in to change notification settings - Fork 188
Improve parse_and_sign
#716
base: development
Are you sure you want to change the base?
Conversation
Merge CoZ Development into jseagrave21 Development
Merge CoZ Development into jseagrave21 Development
Merge CoZ Development into jseagrave21 Development
* Update ExtendedJsonRpcApi.py - add fix provided by @localhuman so original methods are returned as well as extended methods
…yOfZion#661) * Add the option -u (unittest-net) to prompt.py * Add unittest guildeline and add the smart contract source codes (UnitTest-SM.zip) to the fixtures package
for compatibility
* Fix ExtendedJsonRpcApi (CityOfZion#662) * Update ExtendedJsonRpcApi.py - add fix provided by @localhuman so original methods are returned as well as extended methods * Mute expected test stacktrace and clearly identify why an exception is thrown. (CityOfZion#663) * Add guideline for adding tests to the neo-privnet-unittest image (CityOfZion#661) * Add the option -u (unittest-net) to prompt.py * Add unittest guildeline and add the smart contract source codes (UnitTest-SM.zip) to the fixtures package * Add raw transaction building examples (CityOfZion#665) * Update neo-boa version to fix core building test
Merge CoZ Development into jseagrave21 Development
Merge CoZ Development into jseagrave21 Development
Merge CoZ Development into jseagrave21 Development
Merge CoZ Development into jseagrave21 development
Merge CoZ development into jseagrave21 development
- add tests for "showallaccounts" and "showallaccountstates"
Merge neo-python development into jseagrave21 development
Merge neo-python development into jseagrave21 development
- remove unnecessary logic
- add tests for `ImportMultiSigContractAddr`
- update logic so it is consistent with previous. - return `tx` on successful relay
- add tests for `parse_and_sign`
- update instructions to match reality
update fixture files
- update fixture files
- fix return type difference
- add logic to catch if `m` != len(publicKeys)
- add a test if minimum # of signatures required != len(publicKeys)
fix typo
- add the ability to input a from-addr for TestBuild (required for neo-boa)
for compatibility
Add GET & OPTIONS request functionality to JSON-RPC servers (CityOfZion#712)
@localhuman @ixje This PR is ready for your review please note that the change here https://github.com/CityOfZion/neo-python/pull/716/files#diff-354f30a63fb0907d4ad57269548329e3R23 was implemented to show neo-boa successfully pass |
Merge neo-python development into jseagrave21 development
- update to match CityOfZion#730
for compatibility
Merge neo-python development into jseagrave21 parse_and_sign
- restore required logic (not needed in `refactored-prompt`)
- make logic cohesive
I am planning on using these tests as the basis for the refactored tests for |
Merge CoZ development into jseagrave21 development
Gracefully handle NEP-5 balance query failures (CityOfZion#744)
Merge CoZ development into neo-python development
Merge CoZ development into jseagrave21 development
…into CityOfZion-development
parse_and_sign
and ImportMultiSigContractAddr
parse_and_sign
4448f76
to
da8cf8d
Compare
@metachris @localhuman please review this PR. I just updated it and it is working as intended. Please note I have edited This PR is necessary for establishing the new test fixtures so I can test the functionality I am working on for glaiming GAS from multisig addresses as mentioned by @ThomasLobker in # _neopython in Slack. |
What current issue(s) does this address, or what feature is it adding?
Improves
parse_and_sign
functionalityAdd test coverage
This PR verifies that Cannot sign multisig tx #697 is resolved.
Improves the instructions for updating test fixtures
NOTE: Required an update to the test fixtures:
-updated fixtures-
notif_fixtures_v9.tar.gz
fixtures_v9.tar.gz
How did you solve this problem?
Trial and Error. Special thanks to @dauTT and @ixje for helping me through.
How did you make sure your solution works?
Unittest
NOTE: Due to permission errors I was not able to run
make test
so I am not sure how the changes in the fixtures (mainly the small advancement in height) has affected other tests. I was thinking it might work after the fixtures are uploaded to AWS.-updated-
make test
works athoughneo-boa
will need to be updated.Are there any special changes in the code that we should be aware of?
Updated the unittest fixtures
Please check the following, if applicable:
make lint
?make test
?CHANGELOG.rst
? (if not, please do)