This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 390943247 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux ~]$ SNS_TESTING_INSTANCE=$( | |
| docker run -p 8000:8000 -p 8080:8080 -v "$(pwd)":/dapp -d ghcr.io/dfinity/sns-testing:main dfx start --clean --verbose | |
| ) | |
| echo "Started SNS testing instance with ID: $SNS_TESTING_INSTANCE" | |
| echo "Waiting for local replica to be ready..." | |
| while ! docker logs $SNS_TESTING_INSTANCE 2>&1 | grep -m 1 'Dashboard:' | |
| do | |
| echo "Awaiting local replica ..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux ~]$ docker exec -it $SNS_TESTING_INSTANCE bash setup_locally.sh | |
| Error response from daemon: No such container: bash | |
| [bizkit@archlinux ~]$ docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 304b7fa02542 ghcr.io/dfinity/sns-testing:main "dfx start --clean -…" About a minute ago Up About a minute 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp quirky_chebyshev | |
| [bizkit@archlinux ~]$ docker exec -it quirky_chebyshev bash | |
| root@304b7fa02542:~# ./setup_locally.sh | |
| Using identity: "default". | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux ~]$ systemctl start docker | |
| [bizkit@archlinux ~]$ SNS_TESTING_INSTANCE=$( | |
| docker run -p 8000:8000 -p 8080:8080 -v "`pwd`":/dapp -d ghcr.io/dfinity/sns-testing:main dfx start --clean | |
| ) | |
| while ! docker logs $SNS_TESTING_INSTANCE 2>&1 | grep -m 1 'Dashboard:' | |
| do | |
| echo "Awaiting local replica ..." | |
| sleep 3 | |
| done | |
| Awaiting local replica ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux sns-testing]$ ./run_basic_scenario.sh | |
| Using identity: "default". | |
| Setting ICP/XDR conversion rate to 10000 ... | |
| Using NNS URLs: ["http://localhost:36215/"] | |
| Title: Updating Xdr/Icp conversion rate to 10000 | |
| Summary: Set ICP/XDR conversion rate to 10000 | |
| Payload: UpdateIcpXdrConversionRatePayload { | |
| data_source: "IC admin", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux sns-testing]$ ./setup_locally.sh | |
| Using identity: "default". | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 345k 100 345k 0 0 1244k 0 --:--:-- --:--:-- --:--:-- 1241k | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 151k 100 151k 0 0 718k 0 --:--:-- --:--:-- --:--:-- 720k | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ohsalmeron@Omars-MacBook-Pro ~ % git clone [email protected]:dfinity/sns-testing.git | |
| cd sns-testing | |
| Cloning into 'sns-testing'... | |
| [email protected]: Permission denied (publickey). | |
| fatal: Could not read from remote repository. | |
| Please make sure you have the correct access rights | |
| and the repository exists. | |
| cd: no such file or directory: sns-testing | |
| ohsalmeron@Omars-MacBook-Pro ~ % git clone https://github.com/dfinity/sns-testing.git |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux sns-testing]$ docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 35fea0abde29 ghcr.io/dfinity/sns-testing:main "dfx start --clean" 2 hours ago Up 2 hours 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp charming_robinson | |
| [bizkit@archlinux sns-testing]$ docker logs 35fea0abde29 | |
| Running dfx start for version 0.19.0 | |
| Using shared network 'local' defined in /home/sns/.config/dfx/networks.json | |
| 2024-05-21T16:49:32.365615Z ERROR icx_proxy_dev: Runtime crashed | |
| Error: Runtime crashed | |
| Caused by: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bizkit@archlinux ~]$ dfx --version | |
| dfx 0.20.0 | |
| [bizkit@archlinux ~]$ git clone https://github.com/dfinity/sns-testing.git | |
| Cloning into 'sns-testing'... | |
| remote: Enumerating objects: 1128, done. | |
| remote: Counting objects: 100% (582/582), done. | |
| remote: Compressing objects: 100% (231/231), done. | |
| remote: Total 1128 (delta 451), reused 380 (delta 350), pack-reused 546 | |
| Receiving objects: 100% (1128/1128), 326.79 KiB | 526.00 KiB/s, done. | |
| Resolving deltas: 100% (709/709), done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Awaiting local replica ... | |
| Dashboard: http://localhost:8000/_/dashboard | |
| [bizkit@archlinux sns-testing]$ docker exec -it $SNS_TESTING_INSTANCE bash setup_locally.sh | |
| Using identity: "default". | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 345k 100 345k 0 0 257k 0 0:00:01 0:00:01 --:--:-- 257k | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 151k 100 151k 0 0 142k 0 0:00:01 0:00:01 --:--:-- 142k |