near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.3k stars 614 forks source link

Move unittest-specific code into separate modules #2035

Open abacabadabacaba opened 4 years ago

abacabadabacaba commented 4 years ago

Currently, we have some functions that are only used in unittests and are not suitable for production use. It would be a good idea to move them to separate modules (similar to mod tests for tests) and only build those modules for unittests.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

bowenwang1996 commented 3 years ago

@abacabadabacaba could you elaborate on which functions should be moved?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.