Skip to content

Do not load zksnark params on ac_public chains#1819

Merged
jl777 merged 1 commit intojl777:devfrom
letolabs:dont_init_params
Mar 14, 2020
Merged

Do not load zksnark params on ac_public chains#1819
jl777 merged 1 commit intojl777:devfrom
letolabs:dont_init_params

Conversation

@leto
Copy link
Copy Markdown

@leto leto commented Mar 8, 2020

Params are loaded during app init before any block data is loaded, so I was not able to look for a recent unix timestamp in the first block.

If necessary, this check could be deferred until block 1 has been loaded. I was able to sync at least 5000 blocks of the WLC21 chain with this code, so it seems to work for existing ac_public chains.

2020-03-08 02:28:50 Skipping zksnark circuit param loading on ac_public chain

@jl777 jl777 merged commit f96fac0 into jl777:dev Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants