Skip to content

Commit

Permalink
Merge branch 'master' into vsekar/add_fcntl
Browse files Browse the repository at this point in the history
  • Loading branch information
venkkatesh-sekar committed Mar 4, 2025
2 parents c6bf3ec + d8d7a18 commit f9eedbd
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ go_deps.bzl @dfinity/idx
/rs/memory_tracker/ @dfinity/execution
/rs/messaging/ @dfinity/ic-message-routing-owners
/rs/monitoring/ @dfinity/consensus
/rs/monitoring/backtrace/ @dfinity/consensus @dfinity/ic-message-routing-owners
/rs/monitoring/metrics @dfinity/consensus @dfinity/ic-message-routing-owners
/rs/monitoring/pprof/ @dfinity/consensus @dfinity/ic-message-routing-owners
/rs/nervous_system/ @dfinity/nns-team
Expand Down
1 change: 1 addition & 0 deletions .github/actions/bazel-test-all/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ runs:
if [ -z "${SSH_AUTH_SOCK:-}" ]; then
eval "$(ssh-agent -s)"
ssh-add - <<< '${{ inputs.SSH_PRIVATE_KEY_BACKUP_POD }}'
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> "$GITHUB_ENV"
fi
rm -rf ~/.ssh
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/update-mainnet-revisions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
token: ${{ steps.app-token.outputs.token }}

- name: Update IC versions file
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
set -eEuxo pipefail
Expand All @@ -46,8 +48,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_CREATION_BOT_PRIVATE_KEY }}
private-key: ${{ secrets.PR_CREATION_BOT_APP_ID }}
app-id: ${{ vars.PR_CREATION_BOT_APP_ID }}
private-key: ${{ secrets.PR_CREATION_BOT_PRIVATE_KEY }}

- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -61,6 +63,8 @@ jobs:
version: 2.53.0

- name: Update Mainnet canisters file
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
set -eEuxo pipefail
Expand Down
4 changes: 0 additions & 4 deletions bazel/conf/.bazelrc.build
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ test:systest --test_output=streamed --test_tag_filters=
build:testnet --build_tag_filters=
test:testnet --test_output=streamed --test_tag_filters=

# For sandboxed actions, mount an empty, writable directory at this absolute path
# (if supported by the sandboxing implementation, ignored otherwise).
test --sandbox_tmpfs_path=/tmp

# TODO(IDX-2374): enable alltests in CI when we will have actual system tests.
#test:ci --config=alltests

Expand Down
3 changes: 3 additions & 0 deletions ci/bazel-scripts/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ fi
# if bazel targets is empty we don't need to run any tests
if [ -z "${BAZEL_TARGETS:-}" ]; then
echo "No bazel targets to build"
# create empty SHA256SUMS for build determinism
# (not ideal but temporary until we can improve or get rid of diff.sh)
touch SHA256SUMS
exit 0
fi

Expand Down
4 changes: 2 additions & 2 deletions mainnet-subnet-revisions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"subnets": {
"tdb26-jop6k-aogll-7ltgs-eruif-6kk7m-qpktf-gdiqx-mxtrf-vb5e6-eqe": "2008d47a169c4984631c87f2efaa88798e6f14dc",
"io67a-2jmkw-zup3h-snbwi-g6a5n-rm5dn-b6png-lvdpl-nqnto-yih6l-gqe": "7147f471c7ac27f518e6c0eeb2015952b5e93e1b"
"tdb26-jop6k-aogll-7ltgs-eruif-6kk7m-qpktf-gdiqx-mxtrf-vb5e6-eqe": "7147f471c7ac27f518e6c0eeb2015952b5e93e1b",
"io67a-2jmkw-zup3h-snbwi-g6a5n-rm5dn-b6png-lvdpl-nqnto-yih6l-gqe": "6e64281a8e0b4faa1d859f115fc138eee6e136f8"
}
}
4 changes: 4 additions & 0 deletions rs/ledger_suite/icrc1/ledger/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,10 @@ fn supported_standards() -> Vec<StandardRecord> {
name: "ICRC-3".to_string(),
url: "https://github.com/dfinity/ICRC-1/tree/main/standards/ICRC-3".to_string(),
},
StandardRecord {
name: "ICRC-10".to_string(),
url: "https://github.com/dfinity/ICRC/blob/main/ICRCs/ICRC-10/ICRC-10.md".to_string(),
},
StandardRecord {
name: "ICRC-21".to_string(),
url: "https://github.com/dfinity/wg-identity-authentication/blob/main/topics/ICRC-21/icrc_21_consent_msg.md".to_string(),
Expand Down
5 changes: 4 additions & 1 deletion rs/ledger_suite/tests/sm-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,10 @@ where
standards.push(standard.name);
}
standards.sort();
assert_eq!(standards, vec!["ICRC-1", "ICRC-2", "ICRC-21", "ICRC-3"]);
assert_eq!(
standards,
vec!["ICRC-1", "ICRC-10", "ICRC-2", "ICRC-21", "ICRC-3"]
);
}

pub fn test_total_supply<T>(ledger_wasm: Vec<u8>, encode_init_args: fn(InitArgs) -> T)
Expand Down

0 comments on commit f9eedbd

Please sign in to comment.