Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NPR lib to NPR App #1074

Merged
merged 24 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7a255e3
Add rewards computation and logs
pietrodimarco-dfinity Nov 6, 2024
1389cfd
Add license
pietrodimarco-dfinity Nov 6, 2024
f027d12
Github Action: Bazel Repin
github-actions[bot] Nov 6, 2024
faf1ca2
Add operations logging
pietrodimarco-dfinity Nov 7, 2024
b8f455f
Github Action: Bazel Repin
github-actions[bot] Nov 7, 2024
17c5e4a
Modify execute operation
pietrodimarco-dfinity Nov 8, 2024
0adf825
Add comments type3* nodes
pietrodimarco-dfinity Nov 8, 2024
16057ee
Merge branch 'main' into ic-1680-m1-npr-computation-lib
pietrodimarco-dfinity Nov 8, 2024
057eb66
Add conversions
pietrodimarco-dfinity Nov 8, 2024
b9bfb92
Merge branch 'main' into ic-1680-m1-npr-computation-lib
pietrodimarco-dfinity Nov 8, 2024
6ed1aaa
Github Action: Bazel Repin
github-actions[bot] Nov 8, 2024
d8a3caf
Remove unused dep
pietrodimarco-dfinity Nov 8, 2024
ec682cf
Adapt new lib
pietrodimarco-dfinity Nov 8, 2024
c956646
Adapt app
pietrodimarco-dfinity Nov 11, 2024
0256f25
Merge branch 'main' into adapt-npr-app-for-new-lib
pietrodimarco-dfinity Nov 11, 2024
c211945
Merge main
pietrodimarco-dfinity Nov 11, 2024
8a8596b
Remove unused type
pietrodimarco-dfinity Nov 11, 2024
bfcd141
Update cargo
pietrodimarco-dfinity Nov 11, 2024
232e79b
Bazel repin
pietrodimarco-dfinity Nov 11, 2024
be9765e
Add dep
pietrodimarco-dfinity Nov 11, 2024
a236814
Add dep
pietrodimarco-dfinity Nov 11, 2024
d5c6604
Remove region node type cat
pietrodimarco-dfinity Nov 11, 2024
c638cbc
Remove get rewardables
pietrodimarco-dfinity Nov 11, 2024
c45565c
Add used to primitive
pietrodimarco-dfinity Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 186 additions & 3 deletions Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "ffcf380265447d740e5711605620eb8647f7d0dbafc84998942ad33840d99b8b",
"checksum": "5808defd7f9c6be1d143a5ea8a53f6c33f0b47a6b1b95f16e0ade249061332c8",
"crates": {
"actix-codec 0.5.2": {
"name": "actix-codec",
Expand Down Expand Up @@ -1040,6 +1040,8 @@
],
"crate_features": {
"common": [
"compile-time-rng",
"const-random",
"default",
"getrandom",
"runtime-rng",
Expand All @@ -1057,6 +1059,10 @@
"id": "cfg-if 1.0.0",
"target": "cfg_if"
},
{
"id": "const-random 0.1.18",
"target": "const_random"
},
{
"id": "getrandom 0.2.15",
"target": "getrandom"
Expand Down Expand Up @@ -6190,6 +6196,92 @@
},
"license": "Apache-2.0 OR MIT"
},
"const-random 0.1.18": {
"name": "const-random",
"version": "0.1.18",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/const-random/0.1.18/download",
"sha256": "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
}
},
"targets": [
{
"Library": {
"crate_name": "const_random",
"crate_root": "src/lib.rs",
"srcs": [
"**/*.rs"
]
}
}
],
"library_target_name": "const_random",
"common_attrs": {
"compile_data_glob": [
"**"
],
"edition": "2018",
"proc_macro_deps": {
"common": [
{
"id": "const-random-macro 0.1.16",
"target": "const_random_macro"
}
],
"selects": {}
},
"version": "0.1.18"
},
"license": "MIT OR Apache-2.0"
},
"const-random-macro 0.1.16": {
"name": "const-random-macro",
"version": "0.1.16",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/const-random-macro/0.1.16/download",
"sha256": "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
}
},
"targets": [
{
"ProcMacro": {
"crate_name": "const_random_macro",
"crate_root": "src/lib.rs",
"srcs": [
"**/*.rs"
]
}
}
],
"library_target_name": "const_random_macro",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "getrandom 0.2.15",
"target": "getrandom"
},
{
"id": "once_cell 1.19.0",
"target": "once_cell"
},
{
"id": "tiny-keccak 2.0.2",
"target": "tiny_keccak"
}
],
"selects": {}
},
"edition": "2018",
"version": "0.1.16"
},
"license": "MIT OR Apache-2.0"
},
"convert_case 0.4.0": {
"name": "convert_case",
"version": "0.4.0",
Expand Down Expand Up @@ -7011,6 +7103,13 @@
"compile_data_glob": [
"**"
],
"crate_features": {
"common": [
"default",
"limit_128"
],
"selects": {}
},
"deps": {
"common": [
{
Expand Down Expand Up @@ -28067,29 +28166,35 @@
],
"crate_features": {
"common": [
"elf",
"errno",
"general",
"ioctl",
"no_std"
],
"selects": {
"aarch64-unknown-linux-gnu": [
"elf",
"errno",
"prctl",
"std",
"system"
],
"arm-unknown-linux-gnueabi": [
"elf",
"errno",
"prctl",
"std",
"system"
],
"armv7-unknown-linux-gnueabi": [
"elf",
"errno",
"prctl",
"std",
"system"
],
"i686-unknown-linux-gnu": [
"elf",
"errno",
"prctl",
"std",
"system"
Expand All @@ -28105,6 +28210,8 @@
"system"
],
"x86_64-unknown-linux-gnu": [
"elf",
"errno",
"prctl",
"std",
"system"
Expand Down Expand Up @@ -29584,6 +29691,10 @@
"id": "ahash 0.8.11",
"target": "ahash"
},
{
"id": "candid 0.10.10",
"target": "candid"
},
{
"id": "ic-base-types 0.9.0",
"target": "ic_base_types"
Expand Down Expand Up @@ -29611,6 +29722,10 @@
{
"id": "rust_decimal 1.36.0",
"target": "rust_decimal"
},
{
"id": "serde 1.0.210",
"target": "serde"
}
],
"selects": {}
Expand Down Expand Up @@ -42074,6 +42189,70 @@
},
"license": "MIT OR Apache-2.0"
},
"tiny-keccak 2.0.2": {
"name": "tiny-keccak",
"version": "2.0.2",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/tiny-keccak/2.0.2/download",
"sha256": "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
}
},
"targets": [
{
"Library": {
"crate_name": "tiny_keccak",
"crate_root": "src/lib.rs",
"srcs": [
"**/*.rs"
]
}
},
{
"BuildScript": {
"crate_name": "build_script_build",
"crate_root": "build.rs",
"srcs": [
"**/*.rs"
]
}
}
],
"library_target_name": "tiny_keccak",
"common_attrs": {
"compile_data_glob": [
"**"
],
"crate_features": {
"common": [
"default",
"shake"
],
"selects": {}
},
"deps": {
"common": [
{
"id": "crunchy 0.2.2",
"target": "crunchy"
},
{
"id": "tiny-keccak 2.0.2",
"target": "build_script_build"
}
],
"selects": {}
},
"edition": "2018",
"version": "2.0.2"
},
"build_script_attrs": {
"data_glob": [
"**"
]
},
"license": "CC0-1.0"
},
"tinystr 0.7.6": {
"name": "tinystr",
"version": "0.7.6",
Expand Down Expand Up @@ -43529,6 +43708,10 @@
],
"deps": {
"common": [
{
"id": "ahash 0.8.11",
"target": "ahash"
},
{
"id": "anyhow 1.0.93",
"target": "anyhow"
Expand Down
Loading
Loading