Closed Adman closed 6 years ago
I reviewed your code, please see and make changes where appropriate.
General notes:
CurveType
constants in most places - maybe not in the dicts that are inputs to create_sign_tx_msg
, because these might come from outside? But definitely in arguments to calls.@pytest.mark.xfail
, so that we can merge this before trezor-core code is readyI also did a big change to master, so now you get merge conflicts. Resolution instructions are as follows:
@field-@expect
decorators to @expect(..., field=...)
You should also be able to leverage protobuf.dict_to_proto
instead of the explicit create_sign_tx_msg
function.
@matejcik Everything should be fixed
thank you. Looks mostly good now, a couple minor points. I'll also wait for changes in the used paths (or not), as discussed on Gitter.
@matejcik I will rework this to support only one curve ed25519
.
@matejcik done. Tests:
Looks good.
Please add @pytest.mark.skip_t1
to all tests, we won't be doing Tezos on T1 codebase.
I'm ready to merge after that change.
Added
Thanks!
Signed-off-by: Adrian Matejov adrian.matejov@simplestaking.com
We also pushed signed operations to betanet network and they got accepted. Here's the list of them
transaction tz1 http://tzscan.io/ong8MQBX595Ld4dteHCbPqd6uzmEorEft6ZvfiX5vQMX4WHRh7K
transaction tz2 http://tzscan.io/ooHZ2vbFX1M1fmr9KpLPWQ8r6oZB2RikpGBXsoQSZfbV1hWVjCP
transaction tz3 http://tzscan.io/op79uLwaFqNB6SgcaAaJtoHFBQk3mL5bC1BQTvYzwX2DVSr8RJG
origination tz1 http://tzscan.io/ooJg7qXtUjh16AtdSvv5kgaQnxjtAiBysFkG3EaG5qPAuDT1Cym contract http://tzscan.io/KT1VakcExcig27ZAuoLTExgGXtvUsykQSf5R
origination tz2 http://tzscan.io/opDrUvCGUwKeu86b7GbRLeVzAkyKkdfnV9aSGAzGDLYYS11m6Qr contract http://tzscan.io/KT1LdQeHBSpvvzdRH495qHmtagavZcZ9Z5GW
origination tz3 http://tzscan.io/opVWtfwvSvHzC6hsSGG31G23Q6nBov8SSvmA2nYXBNc5fWGk3Bg contract http://tzscan.io/KT1VfKfsgKFEfZ5vZUaZNaZyGrQf1gr1MEqr
delegation tz1 http://tzscan.io/onws37YkYRnUvwYiPqYATZFtBVhBwbS2rdPkQjFGbAfLzt82MGa
delegation tz2 http://tzscan.io/oocKfbotJwN5Zvmoybhb9LUJ6VhmeS42G2oZHaXQ2mXm98Rzx8r
delegation tz3 http://tzscan.io/ooFQBcoMzwseJHnFgQ9fEPxAXhtgifuvvEH1CtmyAtnK5R7Drik
transaction+reveal tz2 http://tzscan.io/ooEyN4FxP8RYh98RJgQxposDUuWHLWT8fUzWawNRCsMGxaNAN9c
transaction+reveal tz3 http://tzscan.io/ooLaWQzZj1cbkMjZAifV71QCu5bdbMtET5CabrzLWQmnGMMhwmE