Skip to content

Commit

Permalink
Merge branch 'master' into severin/dfx-0.24.0-release
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 committed Oct 4, 2024
2 parents b1204b2 + 8c12efe commit 61bb194
Show file tree
Hide file tree
Showing 14 changed files with 644 additions and 817 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
/motoko/encrypted-notes-dapp-vetkd/ @dfinity/crypto-team
/motoko/encrypted-notes-dapp/ @dfinity/crypto-team
/motoko/hello_cycles/ @dfinity/languages
/motoko/http_counter/ @dfinity/networking
/motoko/ic-pos/ @dfinity/div-Crypto
/motoko/icrc2-swap/ @dfinity/div-Crypto
/motoko/internet_identity_integration/ @dfinity/gix
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/motoko-http_counter-example.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/rust-nft-wallet-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Rust NFT Wallet Darwin
run: |
pushd rust/nft-wallet
dfx start --background --host 127.0.0.1:8000
dfx start --background --host 127.0.0.1:4943
bash ./deploy.sh
dfx canister call nftwallet owned_nfts
popd
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Rust NFT Wallet Linux
run: |
pushd rust/nft-wallet
dfx start --background --host 127.0.0.1:8000
dfx start --background --host 127.0.0.1:4943
bash ./deploy.sh
dfx canister call nftwallet owned_nfts
popd
31 changes: 0 additions & 31 deletions motoko/http_counter/Makefile

This file was deleted.

84 changes: 0 additions & 84 deletions motoko/http_counter/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions motoko/http_counter/dfx.json

This file was deleted.

149 changes: 0 additions & 149 deletions motoko/http_counter/src/main.mo

This file was deleted.

8 changes: 4 additions & 4 deletions motoko/ic-pos/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion motoko/ic-pos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"tailwindcss": "^3.3.2",
"tailwindcss-animate": "^1.0.6",
"typescript": "^5.0.2",
"vite": "^4.5.3",
"vite": "^4.5.5",
"vite-plugin-svgr": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion motoko/send_http_get/src/send_http_get_backend/main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ actor {
let ONE_MINUTE : Nat64 = 60;
let start_timestamp : Types.Timestamp = 1682978460; //May 1, 2023 22:01:00 GMT
let end_timestamp : Types.Timestamp = 1682978520;//May 1, 2023 22:02:00 GMT
let host : Text = "api.pro.coinbase.com";
let host : Text = "api.exchange.coinbase.com";
let url = "https://" # host # "/products/ICP-USD/candles?start=" # Nat64.toText(start_timestamp) # "&end=" # Nat64.toText(start_timestamp) # "&granularity=" # Nat64.toText(ONE_MINUTE);

// 2.2 prepare headers for the system http_request call
Expand Down
4 changes: 2 additions & 2 deletions rust/send_http_get/src/send_http_get_backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async fn get_icp_usd_exchange() -> String {
type Timestamp = u64;
let start_timestamp: Timestamp = 1682978460; //May 1, 2023 22:01:00 GMT
let seconds_of_time: u64 = 60; //we start with 60 seconds
let host = "api.pro.coinbase.com";
let host = "api.exchange.coinbase.com";
let url = format!(
"https://{}/products/ICP-USD/candles?start={}&end={}&granularity={}",
host,
Expand Down Expand Up @@ -168,4 +168,4 @@ fn transform(raw: TransformArgs) -> HttpResponse {
ic_cdk::api::print(format!("Received an error from coinbase: err = {:?}", raw));
}
res
}
}
Loading

0 comments on commit 61bb194

Please sign in to comment.