Skip to content
Open

3.x #325

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
25bd275
replays
hardyjosh Aug 29, 2024
10fa473
Merge pull request #282 from rainlanguage/2024-08-29-replays
hardyjosh Aug 29, 2024
558e5fd
flattening and naming full traces
hardyjosh Aug 30, 2024
861a69a
typeshare
hardyjosh Aug 30, 2024
3fe2116
deref
hardyjosh Aug 30, 2024
6d2f74f
clippy
hardyjosh Aug 30, 2024
06af219
tests
hardyjosh Aug 30, 2024
7971578
clippy
hardyjosh Aug 30, 2024
daf8794
flake lock
hardyjosh Sep 3, 2024
e1250a9
Merge pull request #283 from rainlanguage/2024-08-30-trace-flattening
thedavidmeister Sep 3, 2024
26e6b5c
bump metadata
hardyjosh Sep 3, 2024
9ec117e
Merge pull request #287 from rainlanguage/2024-09-03-bump-metadata
hardyjosh Sep 4, 2024
0b3cc50
init
rouzwelt Sep 6, 2024
afd4425
Merge pull request #289 from rainlanguage/2024-09-06-local-evm-test-h…
hardyjosh Sep 6, 2024
8066f53
partial traces
hardyjosh Sep 12, 2024
6e90c7d
better partial trace formatting
hardyjosh Sep 12, 2024
cd76811
Merge pull request #292 from rainlanguage/2024-09-12-partial-traces
thedavidmeister Sep 13, 2024
dc8e861
adding linea
hardyjosh Sep 30, 2024
e1fa24e
Merge pull request #293 from rainlanguage/2024-09-30-adding-linea-3.x
hardyjosh Sep 30, 2024
7c7e718
update prb math
thedavidmeister Oct 21, 2024
2e4b977
rm chainlink dep
thedavidmeister Oct 21, 2024
6fcc032
update intorastring dep
thedavidmeister Oct 21, 2024
39b5a94
update datacontract
thedavidmeister Oct 21, 2024
eaa2acf
udpate memkv
thedavidmeister Oct 21, 2024
23d03c3
bump deps
thedavidmeister Oct 21, 2024
391d0c7
udpate metadata
thedavidmeister Oct 21, 2024
df3699d
update codegen
thedavidmeister Oct 21, 2024
39ed908
update dep
thedavidmeister Oct 21, 2024
7fecbd1
update deps
thedavidmeister Oct 21, 2024
7bcca91
legal
thedavidmeister Oct 21, 2024
46edf7a
legal ci
thedavidmeister Oct 21, 2024
f61fec9
add interface
thedavidmeister Oct 23, 2024
3b7b61d
Merge pull request #294 from rainlanguage/2024-10-21-3.x-deps
thedavidmeister Oct 23, 2024
e45f3a1
readme
thedavidmeister Oct 23, 2024
7556aa7
update metadata
thedavidmeister Oct 24, 2024
f98e235
Merge pull request #295 from rainlanguage/2024-10-21-3.x-deps
thedavidmeister Oct 24, 2024
8415f9d
Update manual-sol-artifacts.yaml
hardyjosh Oct 25, 2024
cdab9cc
Merge pull request #297 from rainlanguage/2024-10-25-3.x-branch-for-d…
hardyjosh Oct 25, 2024
ac310c1
init
rouzwelt Nov 30, 2024
c8685a2
Merge pull request #300 from rainlanguage/2024-11-30-update-metadata-…
rouzwelt Nov 30, 2024
52759d1
init
rouzwelt Dec 2, 2024
a5f869a
Merge pull request #301 from rainlanguage/2024-12-02-update-typecast
rouzwelt Dec 3, 2024
9e3ce76
update datacontract
thedavidmeister Dec 7, 2024
6d8bf2a
bump dep
thedavidmeister Dec 7, 2024
a3e1517
upddate deps
thedavidmeister Dec 7, 2024
e1a1e69
update dep
thedavidmeister Dec 7, 2024
440e0e9
update deps
thedavidmeister Dec 7, 2024
9946951
update dep
thedavidmeister Dec 7, 2024
3fa11be
legal
thedavidmeister Dec 7, 2024
4a11031
Merge pull request #302 from rainlanguage/2024-12-07-legals
thedavidmeister Dec 7, 2024
8543928
add author to cargo
thedavidmeister Dec 7, 2024
cdf1955
Merge pull request #303 from rainlanguage/2024-12-07-legal2
thedavidmeister Dec 7, 2024
efb9f09
rm typeshare and add wasm bindgen
rouzwelt Feb 12, 2025
e85e55d
update
rouzwelt Feb 12, 2025
7e72a1f
Update trace.rs
rouzwelt Feb 12, 2025
0fa7cd0
update
rouzwelt Feb 12, 2025
8d9d47e
update
rouzwelt Feb 17, 2025
f84f99d
Update lib.rs
rouzwelt Feb 17, 2025
f6ba96d
update
rouzwelt Feb 18, 2025
3d9b14e
update
rouzwelt Feb 18, 2025
ae5a274
Update trace.rs
rouzwelt Feb 18, 2025
aa3bad9
Update trace.rs
rouzwelt Feb 18, 2025
5bbade6
Update rain.metadata
rouzwelt Feb 18, 2025
d1d1741
Merge pull request #308 from rainlanguage/2025-01-11-rm-typeshare
hardyjosh Feb 21, 2025
513727c
update the dep version
findolor May 28, 2025
84a2f8c
update dep
findolor May 28, 2025
0c39d73
update dependency
findolor May 29, 2025
518ec8c
update version
findolor May 29, 2025
af338f2
run formatter
findolor May 29, 2025
9eb5b6e
update submodule
findolor May 29, 2025
4b88077
fix nix ci
findolor May 30, 2025
dd19a73
fix nix and bump metadata
findolor Jun 4, 2025
97927f4
Merge pull request #330 from rainlanguage/readable-client-update
findolor Jun 6, 2025
3b9bbd3
lower optimisations
thedavidmeister Jul 2, 2025
964520d
pointers
thedavidmeister Jul 2, 2025
71fdf80
pointers
thedavidmeister Jul 2, 2025
3b0acf1
pointesr
thedavidmeister Jul 2, 2025
f111e94
Merge pull request #350 from rainlanguage/2025-07-02-3x-opt
thedavidmeister Jul 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .devcontainer.json

This file was deleted.

3 changes: 0 additions & 3 deletions .env.example

This file was deleted.

2,298 changes: 1,149 additions & 1,149 deletions .gas-snapshot

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions .github/workflows/git-clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,23 @@ jobs:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: nixbuild/nix-quick-install-action@v30
with:
nix_conf: |
keep-env-derivations = true
keep-outputs = true

- name: Restore and save Nix store
uses: nix-community/cache-nix-action@v6
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
# if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-
# collect garbage until the Nix store size (in bytes) is at most this number
# before trying to save a new cache
# 1G = 1073741824
gc-max-store-size-linux: 1G

# Build metas etc. required to do a correct pointer build.
- run: nix develop -c i9r-prelude
Expand Down
28 changes: 22 additions & 6 deletions .github/workflows/manual-sol-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
network:
description: 'Network to deploy to'
description: "Network to deploy to"
required: true
type: choice
options:
Expand All @@ -19,6 +19,7 @@ on:
- polygon
- sepolia
- songbird
- linea

jobs:
deploy:
Expand All @@ -38,20 +39,35 @@ jobs:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: nixbuild/nix-quick-install-action@v30
with:
nix_conf: |
keep-env-derivations = true
keep-outputs = true

- name: Restore and save Nix store
uses: nix-community/cache-nix-action@v6
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
# if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-
# collect garbage until the Nix store size (in bytes) is at most this number
# before trying to save a new cache
# 1G = 1073741824
gc-max-store-size-linux: 1G

- run: nix develop --command rainix-sol-prelude
- run: nix develop --command rainix-rs-prelude
- run: nix develop --command i9r-prelude
- name: deploy to ${{ inputs.network }}
run: nix develop --command rainix-sol-artifacts
env:
DEPLOY_BROADCAST: '1'
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }}
DEPLOY_BROADCAST: "1"
DEPLOYMENT_KEY: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/3.x') && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }}
ETH_RPC_URL: ${{ secrets[env.rpc_secret_name] || vars[env.rpc_secret_name] || '' }}
ETHERSCAN_API_KEY: ${{ secrets[env.etherscan_api_key_secret_name] || vars[env.etherscan_api_key_secret_name] || ''}}
DEPLOY_VERIFY: ${{ secrets[env.verify_secret_name] || vars[env.verify_secret_name] || '' }}
DEPLOY_VERIFIER: ${{ secrets[env.verifier_secret_name] || vars[env.verifier_secret_name] || '' }}
DEPLOY_VERIFIER_URL: ${{ secrets[env.verifier_url_secret_name] || vars[env.verifier_url_secret_name] || '' }}
DEPLOY_METABOARD_ADDRESS: ${{ secrets[env.metaboard_address_secret_name] || vars[env.metaboard_address_secret_name] || '' }}
DEPLOY_METABOARD_ADDRESS: ${{ secrets[env.metaboard_address_secret_name] || vars[env.metaboard_address_secret_name] || '' }}
21 changes: 18 additions & 3 deletions .github/workflows/rainix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
task: [rainix-rs-test, rainix-rs-artifacts]
task: [rainix-rs-test, rainix-rs-artifacts, rainix-sol-legal]
include:
# Solidity doesn't need to be tested on multiple platforms
- os: ubuntu-latest
Expand All @@ -31,8 +31,23 @@ jobs:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: nixbuild/nix-quick-install-action@v30
with:
nix_conf: |
keep-env-derivations = true
keep-outputs = true

- name: Restore and save Nix store
uses: nix-community/cache-nix-action@v6
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
# if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-
# collect garbage until the Nix store size (in bytes) is at most this number
# before trying to save a new cache
# 1G = 1073741824
gc-max-store-size-linux: 1G

- run: nix develop --command rainix-sol-prelude
- run: nix develop --command rainix-rs-prelude
Expand Down
39 changes: 18 additions & 21 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
[submodule "lib/rain.metadata"]
path = lib/rain.metadata
url = https://github.com/rainprotocol/rain.metadata
[submodule "lib/rain.lib.memkv"]
path = lib/rain.lib.memkv
url = https://github.com/rainprotocol/rain.lib.memkv
[submodule "lib/prb-math"]
path = lib/prb-math
url = https://github.com/PaulRBerg/prb-math
[submodule "lib/sol.lib.binmaskflag"]
path = lib/sol.lib.binmaskflag
url = https://github.com/rainprotocol/sol.lib.binmaskflag
[submodule "lib/rain.math.fixedpoint"]
path = lib/rain.math.fixedpoint
url = https://github.com/rainprotocol/rain.math.fixedpoint
[submodule "lib/rain.chainlink"]
path = lib/rain.chainlink
url = https://github.com/rainprotocol/rain.chainlink
[submodule "lib/rain.intorastring"]
path = lib/rain.intorastring
url = https://github.com/rainlanguage/rain.intorastring
[submodule "lib/rain.interpreter.interface"]
path = lib/rain.interpreter.interface
url = https://github.com/rainlanguage/rain.interpreter.interface
[submodule "lib/rain.datacontract"]
path = lib/rain.datacontract
url = https://github.com/rainlanguage/rain.datacontract
[submodule "lib/rain.lib.memkv"]
path = lib/rain.lib.memkv
url = https://github.com/rainlanguage/rain.lib.memkv
[submodule "lib/rain.math.fixedpoint"]
path = lib/rain.math.fixedpoint
url = https://github.com/rainlanguage/rain.math.fixedpoint
[submodule "lib/rain.metadata"]
path = lib/rain.metadata
url = https://github.com/rainlanguage/rain.metadata
[submodule "lib/rain.sol.codegen"]
path = lib/rain.sol.codegen
url = https://github.com/rainlanguage/rain.sol.codegen
[submodule "lib/rain.math.float"]
path = lib/rain.math.float
url = https://github.com/rainlanguage/rain.math.float
[submodule "lib/rain.sol.binmaskflag"]
path = lib/rain.sol.binmaskflag
url = https://github.com/rainlanguage/rain.sol.binmaskflag
[submodule "lib/rain.interpreter.interface"]
path = lib/rain.interpreter.interface
url = https://github.com/rainlanguage/rain.interpreter.interface
Loading