Skip to content

Commit

Permalink
Merge pull request #27 from Chia-Mine/v1.0.5
Browse files Browse the repository at this point in the history
V1.0.5
  • Loading branch information
ChiaMineJP authored Aug 14, 2021
2 parents 8fbe3fd + 073c137 commit 1223fde
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.0.5]
This version is compatible with [`ab4560900cf475ff515054bec0ca9a4491aca366`](https://github.com/Chia-Network/clvm/tree/ab4560900cf475ff515054bec0ca9a4491aca366) of [[email protected]](https://github.com/Chia-Network/clvm)

### Fixed
- Fixed an issue where `op_lsh` did not work as expected.

## [1.0.4]
This version is compatible with [`ab4560900cf475ff515054bec0ca9a4491aca366`](https://github.com/Chia-Network/clvm/tree/ab4560900cf475ff515054bec0ca9a4491aca366) of [[email protected]](https://github.com/Chia-Network/clvm)

Expand Down Expand Up @@ -194,6 +200,7 @@ At this version, I've managed to improve test complete time to `79s` -> `2s` by
Initial (beta) release.

<!--[Unreleased]: https://github.com/Chia-Mine/clvm-js/compare/v0.0.1...v0.0.2-->
[1.0.5]: https://github.com/Chia-Mine/clvm-js/compare/v1.0.4...v1.0.5
[1.0.4]: https://github.com/Chia-Mine/clvm-js/compare/v1.0.3...v1.0.4
[1.0.3]: https://github.com/Chia-Mine/clvm-js/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/Chia-Mine/clvm-js/compare/v1.0.1...v1.0.2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clvm",
"version": "1.0.4",
"version": "1.0.5",
"author": "Admin ChiaMineJP <[email protected]>",
"description": "Javascript implementation of chia lisp",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/more_ops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export function op_lsh(args: SExp){
if(l1 > 4){
throw new EvalError("lsh requires int32 args (with no leading zeros)", args.rest().first());
}
else if(i1 >= BigInt(0) ? i1 : -i1 > BigInt(65535)){
else if((i1 >= BigInt(0) ? i1 : -i1) > BigInt(65535)){
throw new EvalError("shift too large", SExp.to(i1));
}
// we actually want i0 to be an *unsigned* int
Expand Down

0 comments on commit 1223fde

Please sign in to comment.