Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Support Testnet mode #88

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Support Testnet mode #88

merged 1 commit into from
Sep 6, 2023

Conversation

hannahhoward
Copy link
Contributor

Goals

Add cli option to use in a lotus testnet. This is important cause while not obvious, all lotus addreses are serialized by go-address based off a global package var (bizarre behavior, but subject for another time). So they will read either "t..." or "f..." when written as a string based on address.CurrentNetwork.

Add cli option to use in a lotus testnet, updating various parameters
based on that
@hannahhoward hannahhoward requested a review from masih September 5, 2023 19:12
@masih
Copy link
Member

masih commented Sep 5, 2023

Would this be necessary in motion considering max car size and pack threshold are parameterised already?

@hannahhoward
Copy link
Contributor Author

hannahhoward commented Sep 6, 2023

Would this be necessary in motion considering max car size and pack threshold are parameterised already?

Yes, I think. The baseline problem is the string output used for addresses, which is hardcoded in the go-address repo.

This is relevant for the schedule creation which contains string addresses.

Suffice to say I had to do this to get everything working BEFORE I actually made those functions that are now parameters around MaxCarSize and Pack Threshold

@masih
Copy link
Member

masih commented Sep 6, 2023

Good to know thanks

@masih masih merged commit 81991e5 into main Sep 6, 2023
@masih masih deleted the feat/support-testnet branch September 6, 2023 09:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants