Skip to content

Commit 2eb0f03

Browse files
Strip deploy + Rust/npm surface: library becomes pure Solidity
Per rain.math.float#262 (Split into library + rain.math.float.deploy) and the Hard Case A ruling, this repo becomes the pure Solidity math library that publishes only the `rain-math-float` Soldeer package. The deployed concrete, deploy pins/snapshot, deploy scripts/tests, and the Rust/WASM/npm bindings move to rain.math.float.deploy. Removed (77 files): - Deploy Solidity: src/concrete/DecimalFloat.sol, src/generated/*, src/lib/deploy/LibDecimalFloatDeploy.sol, script/{Deploy,BuildPointers, check-published-deploy-constants.sh}, deploy tests, LibLogTable.bytes.t.sol. - Rust/npm: crates/**, Cargo.*, package*.json, tsconfig.json, .prettierignore, test_js/**, scripts/*.js, the CopyArtifacts bridge (script + lib + test), and TestDecimalFloat harness + its two wrapper tests. - Workflows: copy-artifacts, manual-sol-artifacts, rainix-rs-{static,test,wasm}. Added / changed: - test/abstract/LogTest.sol rewritten self-contained (Hard Case C): rebuilds the combined log tables from LibLogTable source and deploys them via LibDataContract at a `create` address, so the transcendental tests (log10/pow/pow10/sqrt) run with no Zoltu deploy pin and no src/generated snapshot. - foundry.toml: drop rain-deploy + rain-sol-codegen deps, [rpc_endpoints], [etherscan], fs_permissions, ffi. Pragma stays `^`. - package-release.yaml: publish only the rain-math-float Soldeer package (drop crate + npm-package inputs). - flake.nix: drop test-wasm-build + test-js-bindings tasks. - CLAUDE.md/README/REUSE.toml/.soldeerignore/.gitignore/remappings: library-only. - .gas-snapshot + soldeer.lock regenerated for the stripped tree. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d3fb611 commit 2eb0f03

88 files changed

Lines changed: 374 additions & 15038 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gas-snapshot

Lines changed: 335 additions & 248 deletions
Large diffs are not rendered by default.

.github/workflows/copy-artifacts.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/manual-sol-artifacts.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/package-release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ jobs:
77
release:
88
uses: rainlanguage/rainix/.github/workflows/rainix-autopublish.yaml@main
99
with:
10-
crate: rain-math-float
11-
npm-package: "@rainlanguage/float"
1210
soldeer-package: rain-math-float
1311
secrets: inherit

.github/workflows/rainix-rs-static.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/rainix-rs-test.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/rainix-rs-wasm.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ out
22
cache
33
dependencies
44
.direnv
5-
target
65
temp
7-
dist
8-
node_modules
96
.env
107
.fixes
118
.pre-commit-config.yaml

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.soldeerignore

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,21 @@
77
.gitignore
88
.gitmodules
99
.pre-commit-config.yaml
10-
.prettierignore
1110
.soldeerignore
1211
.vscode
1312
CLAUDE.md
1413
/audit
1514
/cache
16-
/crates
1715
/dependencies
18-
/dist
19-
/docs
2016
/flake.lock
2117
/flake.nix
2218
/foundry.lock
2319
/foundry.toml
2420
/lib
25-
/node_modules
2621
/out
27-
/package.json
28-
/package-lock.json
2922
/remappings.txt
30-
/scripts
3123
/slither.config.json
3224
/soldeer.lock
3325
/target
3426
/test
35-
/test_js
36-
/tsconfig.json
3727
/REUSE.toml

0 commit comments

Comments
 (0)