# GIP-0019: Save gas when initializing a subgraph deployment

**URL:** <https://forum.thegraph.com/t/gip-0019-save-gas-when-initializing-a-subgraph-deployment/2590>\
**Category:** Graph Improvement Proposals (GIP)\
**Tags:** protocol-gov\
**Created:** [September 30, 2021, 3:55am UTC](https://forum.thegraph.com/t/gip-0019-save-gas-when-initializing-a-subgraph-deployment/2590 "2021-09-30T03:55:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/ari/32/2747_2.png) [@ari](https://forum.thegraph.com/u/ari)\
**Post date:** [November 9, 2021, 8:49pm UTC](https://forum.thegraph.com/t/gip-0019-save-gas-when-initializing-a-subgraph-deployment/2590/4 "2021-11-09T20:49:06Z")

</div>

Exactly, this only applies when you signal for the first time, if the developer just published they only pay for the publish transaction.

This also improves the cases of any upgrade, you call `publishNewVersion` and the signal is moved to the new deployment where everything is initialized again.

---

_[View the full topic](https://forum.thegraph.com/t/gip-0019-save-gas-when-initializing-a-subgraph-deployment/2590)._
