Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle website over than 3 mb #64

Merged
7 commits merged into from
Jun 15, 2022

Conversation

Neylix
Copy link
Member

@Neylix Neylix commented Jun 9, 2022

Fixes #62

This PR is an improvement of the deploy function.
Now we can send files and website with a size over than 3MB.
Files are splited in multiple transaction in the same chain.

The last transaction refer all files with content or the address where the content in stored.

It was tested with archethic website where the total content size is 37.8 MB after compression and some files have a size of 14MB

It generate 13 transactions (37.8 / 3 = 12.6)

@Neylix Neylix added feature new feature or enhancement core team Contribution by core team labels Jun 9, 2022
@Neylix Neylix marked this pull request as draft June 9, 2022 14:46
@Neylix Neylix marked this pull request as ready for review June 13, 2022 10:47
@Neylix Neylix requested review from manujuniris, internet-zero and a user June 13, 2022 10:47
@Neylix
Copy link
Member Author

Neylix commented Jun 13, 2022

In order to test the result by requesting the node, you have to run the node at this PR : archethic-foundation/archethic-node#374

@ghost ghost merged commit dfe4eb5 into archethic-foundation:main Jun 15, 2022
@Neylix Neylix deleted the Handle-website-over-than-3-MB branch June 15, 2022 13:32
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core team Contribution by core team feature new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle website over than 3 MB
1 participant