Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to deploy canisters.
Failed while trying to install all canisters.
Failed to install wasm module to canister 'ledger'.
Failed during wasm installation call: The replica returned an HTTP Error: Http Error: status 413 Payload Too Large, content type "", content: Request 0x06c3685cb2c68652fc45ff2a8482bbe0f0f6477630d5c3e835cfe80294abeb5a is too large. Message byte size 2502974 is larger than the max allowed 2097152.
make: *** [install] Error 255
However, I was not facing the error when I ran the command inside the dfinity examples folder. Why my project showing this?
Also, can I just run the ledger from a separated repository (separate project) then connect it to my project?
Goal: Also, all what I need from the ledger is to run this make init-local II_PRINCIPAL=<YOUR II PRINCIPAL>
The problem is that the ledger you have (not sure if there is a smaller one somewhere) is too large to be installed on an application subnet, so you have to set your local replica to system subnet type.
Yes, no problem. In that case I would recommend you define your dependency as a remote canister like this, just with the network key local instead of (or in addition to ic)
which return an empty list all the time even after I ran that
note: in src/ic_wallet_frontend/src/utils/agent.js you should update these constants based on your new variables
``js
export const port = “4943”
export const canisterId = “br5f7-7uaaa-aaaaa-qaaca-cai”
export const identityId = “be2us-64aaa-aaaaa-qaabq-cai”