After using unique SNS names and logos, the new SNS demo images break the aggregator test because it's too much data to output all the stable memory as JSON. Having nice logos on CI isn't necessary. To reduce the size, we changed the scripts related to SNS creation to use a "logo.png" (which is 7816 bytes) image by default for all generated SNSes.
Changes
add unique_logo flag with false as default value.
Test
Tested manually by calling dfx-snapshot-stock-make, dfx-sns-demo-mksns and dfx-sns-demo-mksns-config scripts with different params.
Motivation
After using unique SNS names and logos, the new SNS demo images break the aggregator test because it's too much data to output all the stable memory as JSON. Having nice logos on CI isn't necessary. To reduce the size, we changed the scripts related to SNS creation to use a "logo.png" (which is 7816 bytes) image by default for all generated SNSes.
Changes
unique_logo
flag with false as default value.Test
dfx-snapshot-stock-make
,dfx-sns-demo-mksns
anddfx-sns-demo-mksns-config
scripts with different params.dfx-snapshot-stock-make --snapshot ...
dfx-snapshot-stock-make --unique_logo true --snapshot ...