0

我正面临一个反复出现的问题,特别是 Solana Anchor ReactJS 项目,我无法将我的项目提交到 Github,因为我的 git 不断拉入我的测试分类帐 Rocksdb 文件。

为什么 RockDB 文件会变得这么大?这个文件还会保存在哪里?或者如果这只是一个 Git 问题,我该如何刷新我的 git,我已经尝试过 git init。

以下是我的错误:

remote: Resolving deltas: 100% (47/47), completed with 3 local objects.
remote: warning: File test-ledger/rocksdb/007966.log is 74.53 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: Trace: 46ad6aee3f87092f2afac914588b0060daf72596be639119562602af35c71a87
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File test-ledger/validator-1641249558759.log is 1176.23 MB; this exceeds GitHub's file size limit of 100.00 MB

如您所见,我的项目目录中没有 test-ledger 文件夹,而我的 test-ledger 保存在 .anchor 中的另一个文件夹在我的 .gitignore 文件中。

在此处输入图像描述

当我查看我的项目文件夹时,我没有看到测试分类帐,请参见下图: 在此处输入图像描述

4

0 回答 0