Go to file
KtorZ 46c357df7b Fix Int/BigInt pivot
We've been wrongly representing large ints as BigInt, causing them to
  behave differently in the VM through builtins like 'serialise_data'.

  Indeed, we expect anything that fits in 8 bytes to be encoded as Major
  Type 0 or 1. But we were switching to encoding as Major type 6
  (tagged, PosBigInt, NegBigInt) for much smaller values! Anything
  outside of the range [-2^32, 2^32-1] would be treated as big int
  (positive or negative).

  Why? Because we checked whether a value i would fit in an i64, and if
  it didn't we treated it as big int. But the reality is more subtle...
  Fortunately, Rust has i128 and the minicbor library implements TryFrom
  which enforces that the value fits in a range of [-2^64, 2^64 - 1], so
  we're back on track easily.
2024-02-25 14:09:56 -05:00
.github fix: blst stuff is not happy on windows aarch64 2023-12-04 22:29:23 -05:00
aikup Bump versions to 1.0.0-alpha, update CHANGELOG. 2023-04-13 17:35:21 +02:00
crates Fix Int/BigInt pivot 2024-02-25 14:09:56 -05:00
examples Fix Int/BigInt pivot 2024-02-25 14:09:56 -05:00
.editorconfig rename examples/tests/{a,b,c,d,e,f} into examples/acceptance_tests/00{1,2,3,4,5,6} 2022-12-14 09:45:24 +01:00
.gitattributes Add support for Nix flakes. 2023-02-07 13:16:17 +01:00
.gitignore chore: adjust git ignore 2023-10-04 17:09:18 -04:00
CHANGELOG.md Fix Int/BigInt pivot 2024-02-25 14:09:56 -05:00
CONTRIBUTING.md chore: add release instructions in contributing.md 2023-08-24 15:43:26 -06:00
Cargo.lock chore: Release 2024-01-31 13:48:20 -05:00
Cargo.toml chore: bump pallas 2024-01-25 11:07:18 -05:00
LICENSE chore: adjustment cargo.toml 2023-05-23 10:40:26 -04:00
README.md chore: use updated theme method 2024-02-15 14:47:53 -05:00
flake.lock chore: update flake 2023-07-27 10:23:10 -04:00
flake.nix fix: nix stuff for @waalge 2024-01-29 18:37:49 -05:00

README.md

Aiken

A modern smart contract platform for Cardano

Licence Crates.io Tests


Installation

How to use

For more information please see the user manual.

Contributing

Want to contribute? See CONTRIBUTING.md to know how.


Note

The name comes from Howard Aiken, an American physicist and a pioneer in computing.

Stats

Alt