You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/runner/.rubies/truffleruby-head/lib/gems/gems/ecdsa-1.2.0/lib/ecdsa/prime_field.rb:62:in `inverse': Inversion bug: remainder is not 1. (RuntimeError)
from /home/runner/.rubies/truffleruby-head/lib/gems/gems/ecdsa-1.2.0/lib/ecdsa/point.rb:74:in `add_to_point'
from /home/runner/.rubies/truffleruby-head/lib/gems/gems/ecdsa-1.2.0/lib/ecdsa/point.rb:122:in `multiply_by_scalar'
from /home/runner/.rubies/truffleruby-head/lib/gems/gems/schnorr_sig-0.2.1.1/lib/schnorr_sig/pure.rb:149:in `verify?'
from /home/runner/.rubies/truffleruby-head/lib/gems/gems/schnorr_sig-0.2.1.1/lib/schnorr_sig/pure.rb:97:in `sign'
from /home/runner/work/nostrb/nostrb/lib/nostrb/event.rb:155:in `sign'
/home/runner/.rubies/truffleruby-head/lib/gems/gems/ecdsa-1.2.0/lib/ecdsa/prime_field.rb:62:in `inverse': Inversion bug: remainder is not 1. (RuntimeError)
from /home/runner/.rubies/truffleruby-head/lib/gems/gems/ecdsa-1.2.0/lib/ecdsa/point.rb:74:in `add_to_point'
from /home/runner/.rubies/truffleruby-head/lib/gems/gems/ecdsa-1.2.0/lib/ecdsa/point.rb:122:in `multiply_by_scalar'
from /home/runner/work/schnorr_sig/schnorr_sig/lib/schnorr_sig/pure.rb:147:in `verify?'
from /home/runner/work/schnorr_sig/schnorr_sig/test/vectors.rb:17:in `block in <top (required)>'
I noticed a discrepancy in behavior between
ruby-head
andjruby-head
on the one hand, andtruffleruby-head
on the other, via Github Actions.Here is the GHA that fails only on
truffleruby-head
: https://github.com/rickhull/nostrb/actions/runs/10637157995/job/29490471421 The outermost test that fails israke test
, which succeeds entirely onruby-head
andjruby-head
.relevant stack trace:
The failure is in the ecdsa gem, here: https://github.com/DavidEGrayson/ruby_ecdsa/blob/master/lib/ecdsa/prime_field.rb#L62
The text was updated successfully, but these errors were encountered: