Hi! I began looking at creating an app using ic-siwb. After fiddling for some time, not being able to deploy the provider canister, I noticed that the SettingsInput is not connected to the init / upgrade canister methods in the did.
service : {
get_address : (Principal, String) -> (GetAddressResponse) query;
...
}
This prevents anyone from deploying the canister. The init fn expects a SettingsInput, but it is not specified in the did.
Compare with did from ic_siwe:
service : (settings_input : SettingsInput) -> {
"get_address" : (Principal) -> (GetAddressResponse) query;
...
}
ps. Added (settings_input : SettingsInput)
to a local copy of the did and the canister deploys correctly.