Skip to content

Upgrade truffle, fix tests - #30

Merged
jtobin merged 1 commit into
urbit:masterfrom
pkova:master
Jul 20, 2020
Merged

Upgrade truffle, fix tests#30
jtobin merged 1 commit into
urbit:masterfrom
pkova:master

Conversation

@pkova

@pkova pkova commented Jul 16, 2020

Copy link
Copy Markdown
Contributor

Fixes #28, #13, #15.

Comment thread test/TestAzimuth.js
revision = ks.revision;
assert.equal(crypt,
'0xa000000000000000000000000000000000000000000000000000000000000000');
'0x0a00000000000000000000000000000000000000000000000000000000000000');

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These right shifts are weird, happen in three places and no idea what causes this! Everything else is just boring breaking api changes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's right-padding on the byte rather than half-byte or string level now?

@pkova

pkova commented Jul 16, 2020

Copy link
Copy Markdown
Contributor Author

Ping @jtobin.

@Fang-

Fang- commented Jul 16, 2020

Copy link
Copy Markdown
Member

Thanks for this, @pkova! In case you haven't already, probably a good idea to see how these dependency changes interact with Bridge's repo & testing/dev scripts.

@jtobin jtobin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Nice. I had just started to do some work on this myself (and then some -- see the jt/modernisation branch) before ducking offline on Thursday.

This LGTM -- the tests still seem to fail occasionally (#13), but this resolves the more egregious #28, with an updated truffle to boot.

Per @Fang-'s comment on downstream interaction, I'll hold off releasing a new version for the time being and do some other testing work, etc., before getting to that.

@jtobin
jtobin merged commit 7b73760 into urbit:master Jul 20, 2020
This was referenced Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests & deployment broken

3 participants